Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Explorer and the cache...

deepvoid (175028) writes | more than 11 years ago

Microsoft 0

I'm writing this web server which presents dynamic pages to the browser for various purposes. Because of the nature of the server, I have to reuse the same URL for different content frequently. So in the header I send back to the browser I turn caching off. In the meta headers I turn caching off. In the header expiration date, I make the date 0. In every single broswer I can dig up, The browser responds to the first method properly and asks for a new copy of the page... But not explorer. No i

I'm writing this web server which presents dynamic pages to the browser for various purposes. Because of the nature of the server, I have to reuse the same URL for different content frequently. So in the header I send back to the browser I turn caching off. In the meta headers I turn caching off. In the header expiration date, I make the date 0. In every single broswer I can dig up, The browser responds to the first method properly and asks for a new copy of the page... But not explorer. No instead: If the URL doesn't change, NONE of the server side or browser specific methods work worth a ding-dangle. My solution: I put a random number variable in the URL and amazingly the brain-dead URL cache mechanism requests a new page, but get this. If I don't turn any of the cache thingies on, it still fetches the page. Methinks the problem is a quite literal implimentation of the cache concept based purely on the URL content and nothing else.

But maybe it's a feature and not a bug...

cancel ×

0 comments

Sorry! There are no comments related to the filter you selected.

Check for New Comments
Slashdot Login

Need an Account?

Forgot your password?

Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

  • b
  • i
  • p
  • br
  • a
  • ol
  • ul
  • li
  • dl
  • dt
  • dd
  • em
  • strong
  • tt
  • blockquote
  • div
  • quote
  • ecode

"ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>