Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3951750
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:46:05+00:00 2026-05-20T01:46:05+00:00

We are developing a big Website, and all our Images and Resources are in

  • 0

We are developing a big Website, and all our Images and Resources are in Amazon S3. We are also using Cloudfront to globally distribute our Content. What we want to to, is to tell the Clients Web Browser to cache our Files, because when we change them, we also will change the URL (Cloudfront does not reflect the change for 24 Hours elsewhere).

We are currently using ETags but this is not optimal becaue the Client still has to do the Request to check if the Resource has changed.

One Solution would be the Expires Header, but we did not find a way to set it relative to the current Date like possible in the Apache Configuration for S3, and we cannot update all Content regularly, because it is pretty much. So we would need a Configuration Option that sets the Expires Header to a Date relative to the current Date for all Content.

Another Solution would be to set Cache-Control: max-age to a certain Value. Does this work? Is it accepted by major Browsers? Will I destroy some caching Algorithms with this? Why does YSlow recommend to set the Expires header but not Cache-Control: max-age?

Any other Recommendations? We are compressing CSS and JS, using Sprites where it is plausible, setting Expires headers and ETags where it is possible, and will soon compress our Images with the Yahoo Compression Tool and gzipping Output.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T01:46:05+00:00Added an answer on May 20, 2026 at 1:46 am

    We did some research on ourself. Seems like the Cache-Control Header does help with telling Cloudfront or a Proxy to set a valid Expires header, but only sometimes …

    We are currently writing a Cron Job to update all Headers in the S3 regularly, because that is one thing that works for sure. Seems like there is no other way. I will keep you posted if there is.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

No related questions found

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.