Closed BTCCoffeeTable closed 7 years ago
Hello. The cache_control setting seems to override the max_age setting. They are not designed to work together, I think. What happens if you remove the cache_control setting?
@laurilehmijoki
That was it, thank you so much. Fantastic implementation overall, keep up the good work. I really appreciate your swift response which fixed my issue perfectly. Thank you.
@laurilehmijoki
Hello, great project, incredible work, thank you for your efforts.
My
s3_website.yml
:For some reason my cache_control headers are not getting piped thru. When I run page speed insights it says all of my assets have no headers. And when I do chrome dev tools I see:
cache-control: public
My understanding is that per my config it should be adding the max-age property, but it's not. Is this in part due to my cloudfront_distribution_config or maybe some silly error in the cache_control or max_age globs?
Thank you.