Open EmptyDreams opened 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?
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?