class Fastly::CacheSetting

customize cache handling. Best used with conditions.

Attributes

action[RW]

Allows for termination of execution and either cache, pass, or restart

cache_condition[RW]
name[RW]

The name of the gzip setting

service_id[RW]

The id of the service this belongs to.

stale_ttl[RW]

Sets the max time to live for stale (unreachable) objects

ttl[RW]

Sets the time to live

version[RW]

The number of the version this belongs to.

Public Class Methods

path() click to toggle source

:attr: cache_condition

Name of the cache condition used to test whether this settings object should be used.

# File lib/fastly/cache_setting.rb, line 41
def self.path
  Util.class_to_path(self, true)
end