Changes to published pages not taking effect.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • sdrich
    Sergeant

    • Aug 2007
    • 35

    Changes to published pages not taking effect.

    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
    General

    • Feb 2006
    • 8703

    #2
    Re: Changes to published pages not taking effect.

    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.
    Regards Chris.

    Collectables, Collecting, collectors-info.com

    www.chrismorris.co.uk

    House build project

    Comment

    • navaldesign
      General & Forum Moderator

      • Oct 2005
      • 12080

      #3
      Re: Changes to published pages not taking effect.

      Very interesting !!
      Navaldesign
      Logger Lite: Low Cost, Customizable, multifeatured Login script
      Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
      DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
      Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

      Comment

      • sdrich
        Sergeant

        • Aug 2007
        • 35

        #4
        Re: Changes to published pages not taking effect.

        Thanks General, I'll give it a try.

        Comment

        Working...
        X