Results 1 to 2 of 2

Thread: Firefox Document Expired

  1. #1
    Join Date
    Sep 2006

    Firefox Document Expired

    My web pages are built with JSP + javascript + AJAX, so a little dynamic when loading a page (it is NOT a static HTML text page).

    As a common practice, when users visits my website, they can click on a hyperlink to open another webpage. When they want to go back, they can click the browser's BACK button that will bring them back to where they were.

    What happened to the firefox is that when its default CACHE runs out, it will display:

    Document Expired
    This document is no longer available.
    The requested document is not available in Firefox'x cache.
    [Try Again]

    The general solution is that I can go to the Options page to either increase the CACHE limit ot clean up the CACHE.

    But for a public user, they either do not know what to do or assume that my website has problem!

    Please offer some suggestion to solve this problem such that regardless the caching, the browser's BACK button (or script window.history.back() will always bring it back to the previous page.




    I have tried:

    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> -->
    <!-- <meta http-equiv="Pragma" content="no-cache" /> -->
    <!-- <meta http-equiv="Expires" content="0" /> -->
    Last edited by scottjsn; 01-07-2015 at 05:01 PM.

  2. #2
    Join Date
    Nov 2007
    "document expired" usually happens when you post a form or use JS to document.write() the current page, etc.

    Here are a few discussions on why this happens:

    This link seems to be the most informative on the issue... walking a business through their specific issue:

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles