Make X-PJAX headers optional #224
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I preload documents using
rel=preload, and because PJAX adds headers to the request, it cannot use those preloaded documents.Simply removing the headers works and no network requests are sent on a PJAX navigation. Should we make them optional? What should that option be called?
I'm currently trying to implement instant.page (which uses
<link rel="preload">) in addition to pjax and I'm facing the same issue. Have you found a workaround? How did you remove the headers to see that it works? By modifying the code of the package manually?