how to prevent caching in all browsers?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jovalBag
    New Member
    • Nov 2008
    • 5

    how to prevent caching in all browsers?

    Hi

    I don't want my page(s) to be cached AT ALL with any browser (chrome , IE, firefox etc.).

    will this in the "HEAD" tag cover it ?

    Code:

    Code:
    <meta http-equiv="cache-control" content="max-age=0" /> 
    <meta http-equiv="cache-control" content="no-cache" /> 
    <meta http-equiv="expires" content="0" /> 
    <meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" /> 
    <meta http-equiv="pragma" content="no-cache" />
    I googled for the solution, seems the answer keeps changing frequently
  • Luuk
    Recognized Expert Top Contributor
    • Mar 2012
    • 1043

    #2
    Because only the browser creator can say what he does, based on the 'meta'-tags, only he can answer your question.

    It will always be possible for a creator to just ignore them, and cache every page ALWAYS, or NEVER, or only on mondays.....

    Comment

    Working...