PDA

View Full Version : Changes to published pages not taking effect.



sdrich
09-10-2007, 10:02 PM
After making changes to my site and republishing, the changes are not taking effect. Could this have to do with page cache? It seems a couple of weeks ago someone had some code to enter into each page about page cache. Could someone point me in that direction? Thanks

Collectors-info
09-11-2007, 12:05 AM
Hi, you can use the no cache & the code is below & enter in your page. This is normally used in pages that are being updates every few seconds like news & stock market pages. If you use this & have any large pages it will slow your visitors from having a quicker loading page every time they revisit a page as it will be like a fresh page every time.
May also be worth reading this part below?

Good luck.
-----------------------------------------------------------------------------------------------------------------------

The Pragma statement up above sometimes fails in IE because of the way IE caches files. There is a 64K buffer that must be filled before a page is cached in IE. The problem is that the vast majority of the pages using the Pragma statement put it between the HEAD tags.
The HEAD loads and the Pragma comes into play. The browser gets the go ahead to not cache the page, however there is not yet a page to not cache. How's that for backwards logic? Since the page hasn't filled the 64K buffer, there's no page so the Pragma is ignored. Thus...the page is cached.
The solution is to play to the buffer. If you're really serious about the Pragma working, place another set of HEAD tags at the bottom of the document, before the end HTML tag and re-enter the Pragma. This is a suggestion straight from Microsoft Support. The page would look like this:

------------------------------------------------------------------------------------------------------------------------
<HTML>
<HEAD>
<TITLE>---</TITLE>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
</HEAD>
<BODY>

Text in the Browser Window

</BODY>
<HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
</HEAD>
</HTML>

This way the Pragma is pretty sure to be read when the buffer is filled.

navaldesign
09-11-2007, 06:43 AM
Very interesting !!

sdrich
09-11-2007, 02:09 PM
Thanks General, I'll give it a try.