Page 1 of 1

Back Button in Firefox Doesn't Remember Scroll Position?

Posted: Fri Jan 26, 2007 9:29 am
by seodevhead
Hey guys... I am building a very large website and I've noticed that on about half of the pages I have built, if you click a link in Firefox while your vertical scroll position is NOT at the top of the page... go to the page... then click the back button, Firefox is not remember the previous page's vertical scroll position, and rather it is reloading the page at the very top scroll position of the page.

What is going on here? Why can't FF remember the scroll position of some of the pages I have created? Am I doing something wrong? I don't have any caching issues to speak of in my code.

Any help on this would greatly be appreciated. Thanks.

Posted: Fri Jan 26, 2007 10:57 am
by Kieran Huggins
mine does, just tried it.. maybe you have to wait for the whole page to load?

Or perhaps you're expiring the cache?

Posted: Fri Jan 26, 2007 11:15 am
by seodevhead
Kieran Huggins wrote:mine does, just tried it.. maybe you have to wait for the whole page to load?
Or perhaps you're expiring the cache?
I have it happen on about 1/3 of all the pages I built. It is really quite odd. There are no caching issues to speak of. This doesn't happen in any other browser except Firefox. I have had it happen numerous times on various other websites as well.

Posted: Sat Jan 27, 2007 12:18 pm
by Ambush Commander
It's almost certainly caching that's causing this to happen. What are the HTTP response headers of a page that does remember and of a page that doesn't?