Open Calinou opened 8 years ago
There might be some issues as we treat some AJAX requests differently than normal requests.
[Edit] Specifically we look for the HTTP header X-Requested-With: XMLHttpRequest
. If the preloading requests don't contain that then they should work fine.
Same thing as a standalone instead of a jQuery plugin: https://instant.page/
Edit: Actually, instant.page isn't exactly the same thing as smoothState.js, it uses the browser's native preloading feature instead of replacing the page's content.
Edit: Let's wait for Firefox to fix its implementation of prefetch
: https://bugzilla.mozilla.org/show_bug.cgi?id=1527334
smoothState.js is a jQuery plugin that makes page transitions feel faster. Optional animations are supported, and the library is based on the progressive enhancement philosophy - users with JavaScript disabled or with an unsupported browser can continue to browse the site just fine.