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

  • SEARCH
  • Home
  • 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 503425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T06:23:34+00:00 2026-05-13T06:23:34+00:00

I have a resource which is user generated and therefore changes at an unpredictable

  • 0

I have a resource which is user generated and therefore changes at an unpredictable time (example, a user uploads a new version of a word document). I would like browsers to cache this resource and validate its cache with the server on each request (i.e. always send the If-Modified-Since header).

From testing, I’ve found that Firefox handles this appropriately when I use “Cache-Control: no-cache” in the response header. However, Internet Explorer 7 is not sending “If-Modified-Since” in its request header.

Does “Cache-Control: no-cache” achieve what I described at the beginning? If not, is there anything I can do differently to achieve what I’ve described across browsers?

Thanks.

  • 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-13T06:23:34+00:00Added an answer on May 13, 2026 at 6:23 am

    According to Microsoft (http://support.microsoft.com/kb/234067), you need to set the Expires header for -1 for this to work properly in Internet Explorer.

    From the page:

    In many cases, Web servers have one or
    more volatile pages on a server that
    contain information, which is subject
    to change immediately. These pages
    should be so marked by the server with
    a value of “-1” for the Expires
    header. On future requests by the
    user, Internet Explorer usually
    contacts the Web server for updates to
    that page via a conditional
    If-Modified-Since request.

    I think the point is that if IE has an expiration date, it sees no reason to ask you if the resource has been modified, since its cached copy should be “good enough”.

    The page does also say that IE supports Cache-control: no-cache, though it isn’t recommended. So it sounds like it should work, but try the Expires thing anyway.

    Also, other googling tells me that browsers are expected to send If-Modified-Since in general, so maybe that’s why Firefox works. Try removing Cache-Control: no-cache to see if Firefox still behaves correctly.

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

Sidebar

Ask A Question

Stats

  • Questions 275k
  • Answers 275k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Yes, there are a few ways of doing this. This… May 13, 2026 at 2:30 pm
  • Editorial Team
    Editorial Team added an answer You need to upgrade! ServicePack 2 for Telerik supports jQuery… May 13, 2026 at 2:30 pm
  • Editorial Team
    Editorial Team added an answer Well, it depends upon how you have IIS configured. If… May 13, 2026 at 2:30 pm

Related Questions

I am having trouble with modifying a php application to have pagination. My error
I was following along with the railscast regarding the restful_authentication plugin. He recommended running
I'm using a HttpModule to rewrite the urls on a multi-lingual site. In the
I need to create an interval Timer that is set to run once a
I am building a website in CakePHP that processes files uploaded though an XML-RPC

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.