PageAccelerator – A very light solution to load web pages faster
github.com
github.com
Say what you want about previous versions of Turbolinks, but the latest version works really well and has support for native web views.
https://cdn.ampproject.org/c/amp.livescience.com/55991-giant...
"pageAccelerator is a very light version of turbolinks and pjax (our minify file has 2.2KB!)"
https://css-tricks.com/prefetching-preloading-prebrowsing/
Edit: It would appear that only Chrome and Opera currently support it: http://caniuse.com/#feat=link-rel-preload
Didn't use PageAccelerator or Instantclick or Turbolinks. It's just jQuery. Here is the source https://github.com/kingkool68/zadieheimlich/blob/master/js/p...
I like this way over a client-side JavaScript framework app approach because... 1) It fails gracefully if JavaScript is unavailable 2) I can keep most of the logic on the server side since the JavaScript is only fetching an HTML page and parsing for content 3) It's fast :)
It works fine in other browsers. My computer may be at fault.
Is this the magic of your magic-shield? :-)
PageAccelerator advantage: smaller file size, 2.2kb minified as opposed to 5.9kb for InstantClick
Not that someone couldn't make a slow static page but in general aren't static pages going to load pretty fast anyway?
Tried all of them and Senna.js wins. Not the best docs but damn that thing is so fast with that cashing. They are working on service worker preloading stuff like that. And you can go pretty deep. Also seems most durable and maintained of the ones i tried.
Pjax hasnt been updated for years for example.
The biggest problem I've had trying to use stuff like this is that the page load events don't fire. And many pages run lots of JavaScript in these events.
pageAccelerator is a very light version of turbolinks and pjax (our minify file has 2.2KB!).
It seems as though it's meant to be a lighter weight version.