0

I'm using cloudfront with no special settings. when I run webpagetest, it gives me an "F" for static content. Is there any way to get cloudfront to put out the correct cache headers?

Here are my results from a page that has cloudfront. I'm not sure this is still live

http://www.webpagetest.org/result/150207_29_PAF/1/details/

1 Answer 1

1

You need to add these headers (max-age or expires) on your origin. It is the origin that decides how long objects should stay in cache

Sign up to request clarification or add additional context in comments.

2 Comments

or Cache-Control, which is typically even better.
Yep, agree. I just quoted error message from the test result mentioned

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.