Method: S3WebsiteDeploy::CachePolicy#cache_control
- Defined in:
- lib/s3_website_deploy/cache_policy.rb
#cache_control(path) ⇒ Object
23 24 25 26 27 |
# File 'lib/s3_website_deploy/cache_policy.rb', line 23 def cache_control(path) policy = @policies.find{|policy| policy.match?(path) } return unless policy policy.value["cache_control"] end |