class Fastly::RequestSetting
customize request handing. Best used with conditions
Attributes
Allows you to terminate request handling and immediately perform an action. When set it can be lookup or pass (ignore the cache completely)
Disable collapsed forwarding, so you don't wait for other objects to origin
Sets the host header
Allows you to force a cache miss for the request. Replaces the item in the cache if the content is cacheable
Force the request to use SSL, redirecting a non-SSL request to SSL.
Injects Fastly-Geo-Country, Fastly-Geo-City, and Fastly-Geo-Region into the request headers
Comma separated list of varnish request object fields that should be in the hash key
How old an object is allowed to be to serve stale-if-error or state-while-revalidate
The name of the request setting
The id of the service this belongs to.
Injects the X-Timer info into the request for viewing origin fetch
durations
The number of the version this belongs to.
X-Forwarded-For: should be clear, leave, append, append_all, or overwrite
Public Class Methods
:attr: request_condition
Name of condition object used to test whether or not these settings should be used
# File lib/fastly/request_setting.rb, line 85 def self.path Util.class_to_path(self, true) end