Skip to content Skip to sidebar Skip to footer

Back Button On Safari/webkit Loading A Page From Cache Instead Of A Fresh Copy

I am having problems with regard to a 'strange' behaviour of Safari/Webkit on Mac OSX systems that's related to the functionality of the back button while having javascript disable

Solution 1:

This is because of the Page Cache feature in Webkit/Safari. You can find more information about this on the below link

Problems with Page Cache in iOS 5 Safari when navigating back / unload event not fired

As a quick fix, You can try adding an empty function to the window unload event. When this is present, Webkit/Safari won't add the page to the pageCache –– leaving the page to load normally like the other browsers do.

Post a Comment for "Back Button On Safari/webkit Loading A Page From Cache Instead Of A Fresh Copy"