Problem with page modification using ajax and browser storing unmodified page in cache

I have a situation where my page loads some information from a database, which then changes through AJAX.

I click the link to another page, then use the back button to return to the original page.

Changes to the page using AJAX that I made earlier are not displayed, because the browser has an unmodified page stored in the cache.

Is there a way to fix this without causing the page to not cache at all?

Thank:)

+5
source share
1 answer

, , ajax, . - .

, ​​( ) DOM. .

, , cookie, . , , , , , , , .

, cookie , ?

+1

All Articles