it seems it only caches the json call, so whenever me or my users hit window back, it only shows the json data i loadet.
Can i somehow force it to load all, or setup the cache to cache the whole page?
Thank you so much.
Yes, you are right. Browser will load page from cache while hit back button. I placed some text and reference from stack answer. See more details and implementation for Gecko and WebKit.
I just put cache: false
, in my json and it worked for me.