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

Closed
opened 2022-08-12 10:00:53 -05:00 by EmptyDreams · 0 comments
EmptyDreams commented 2022-08-12 10:00:53 -05:00 (Migrated from github.com)

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?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: iLoveElysia/pjax#250