SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast Tagxpert's Avatar
    Join Date
    Jul 2004
    Location
    INDIA
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation how to stop visitors caching web pages

    How to stop caching a website from visitors ?
    website for Angels Friendofgod.com - My New yaalimadad.info -
    Community Site HuMMomin.COM - Live Radio ShiaRadio.COM

  2. #2
    SitePoint Guru bronze trophy blufive's Avatar
    Join Date
    Mar 2002
    Location
    Manchester, UK
    Posts
    853
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That page [which was mentioned in a post above which has now been deleted] is way out of date. When they say netscape, they mean 4.x, and I'm pretty sure when they say "IE" they mean version 4 of that, too. And pragma:no-cache is now a deprecated hack. Include it to help keep older browsers in line, but don't rely on it.

    For newer browsers, you should use your favourite server-side scripting language to set appropriate HTTP cache-control headers:
    http://www.w3.org/Protocols/rfc2616/...4.html#sec14.9

    For a good overview of the subject, see:
    http://www.mnot.net/cache_docs/
    Last edited by blufive; Sep 29, 2004 at 12:44. Reason: edited to note that the link I referred to in my first paragraph isn't there any more


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •