Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. cache_control: public
  2. max_age:
  3. "assets/*": 2629000
  4. "*": 300
  5.  
  6. gzip:
  7. - .html
  8. - .css
  9. - .js
  10.  
  11. cloudfront_wildcard_invalidation: true
  12.  
  13. cloudfront_distribution_config:
  14. default_cache_behavior:
  15. min_TTL: <%= 60 * 60 * 24 %>
  16. aliases:
  17. quantity: 1
  18. items:
  19. CNAME: MYSITE
  20.  
  21. Should Fix:
  22. Leverage Browser Caching
  23.  
  24. Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
  25.  
  26. https://MYSITE/assets/images/AN-IMAGE.jpg (expiration not specified)
  27. etc.
  28. for images / stylesheets / js
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement