pjax icon indicating copy to clipboard operation
pjax copied to clipboard

Is there a way for the page to uninstall PJAX?

Open EmptyDreams opened this issue 3 years ago • 0 comments

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?

EmptyDreams avatar Aug 12 '22 15:08 EmptyDreams