2

Isn't Firefox supposed to display a cached version of the page when I use the back button? Is there something I can to do prevent Firefox from doing this ?

I understand it makes less sense nowadays to display a caced version of a page, as most of pages are dynamically generated, and the connection is (in my case) fast enough so that it doesn't make a difference.

6
  • What makes you think it's not using the cache?
    – MrWhite
    Feb 19, 2013 at 12:10
  • The page may contain other links or objects which want to be refreshed. Check the page's source.
    – ott--
    Feb 19, 2013 at 12:18
  • There is a slight lag when I hit back, and Firefox is displaying where it is connecting in the status bar.
    – alecail
    Feb 19, 2013 at 12:18
  • @ott-- Could it be a side effect of an extension ?
    – alecail
    Feb 19, 2013 at 12:26
  • If there is JavaScript on the page then this will run when you go back to that page - this could do anything, including communicating with the server (AJAX). This could certainly override the browser cache.
    – MrWhite
    Feb 19, 2013 at 12:29

1 Answer 1

4

In the few tests I've tried, Firefox is using the browser cache - no additional HTTP requests are even sent to the server.

If it's not using the cache for you then this might be to do with the cache-control headers as sent by the original page you are going back to. (Or your cache is disabled?!)

EDIT: Also note (as mentioned in comments) if there is JavaScript on the page then this will run when you go back to that page - this could potentially do anything, including communicating with the server (AJAX). This could certainly override the browser cache, resulting in a stream of HTTP traffic (as seen in the browser status bar).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .