Jump to content

Caches


Graeme

Recommended Posts

1-

<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">

This directive indicates cached information should not be used and instead requests should be forwarded to the origin server.

 

2-

<meta http-equiv="expires" content="0">

Setting the content to "0" tells the browsers to always load the page from the web server. But you can also tell the browsers how long to leave a page in cache. Instead of "0" you write the date, including time, that you would like the page to be reloaded from the server. Note, the time should be in Greenwich Mean Time (GMT) and written in the format Day, dd Mon yyyy hh:mm:ss. Like this:

 

<meta http-equiv="expires" content="Thu, 19 Oct 2000 00:00:00 GMT">

 

I got these two from a Google search I have not tried them.

Edited by grabenair
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...