MoOx / pjax

Easily enable fast Ajax navigation on any website (using pushState + xhr)
MIT License
1.43k stars 124 forks source link

Is there a way for the page to uninstall PJAX? #250

Open EmptyDreams opened 2 years ago

EmptyDreams commented 2 years ago

Since my site has a custom caching policy, I need to update part of the cache after the site loads, which includes JS files and CSS files.

But I found that a normal page refresh would not allow the browser to load new files. After analysis, PJAX was found to be responsible.

It is possible to replace elements manually, but this is very complicated to implement.

I wonder if there is a way to bypass PJAX and reload the whole site directly?