Latest News

Browser caching

Homepage Forums QBSA Forum Social Space General Chat Browser caching

This topic contains 0 replies, has 1 voice, and was last updated by  WilliamK 2 years, 3 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #56379

    WilliamK
    Participant

    Today one of our members produced a printout of our calendar. Downloaded today and printed it to show some date discrepancies. Only problem was that it was a cached version of the page and that calendar had been updated a month ago. In fact the version that he downloaded today was actually a few months old. This is what can happen when browsers are not set to get updated pages.
    .
    Ok, so the page should have been detected as being changed, but it wasn’t because the calendar part is loaded as an insert on the page. I have since added some no-cache tags to our home page.
    .
    <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” />
    .
    Loading a calendar on this site may be similarly affected, so see if you can add no-cache to the calendar page header.

    • This topic was modified 2 years, 3 months ago by  WilliamK.
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.