4 ms·
The website it is.
by dieulot 13y ago
The website it is.
- yogo 13y agoGood stuff, but I don't think this website is big enough to demo the benefits, maybe a heavier website is needed. A properly configured web server as well as the right HTTP headers will give you the same speed, perceptually. Also you might want add some kind of tracking to avoid making repeat requests (probably within a timeframe). For e.g. hovering one link, then changing your mind, then going to another link. The browser will smartly pull it from its cache but this lib is still making the requests.
- mooreds 13y agoI just added it to my database driven website that is run off shared hosting: http://coloradocsas.info/ http://coloradocsas.info/ It doesn't feel that much faster, but I'd love a way to verify speed changes with data.
- jwcrux 13y agoI'm watching via the dev console and don't see any requests being sent out on hover. Are you sure it's working?
- mooreds 13y agoI took another look and I wasn't doing the init(). I am now, but it still doesn't appear to be working. Not sure why.
- dieulot 13y agoYou’ll need to enable blacklisting, see http://instantclick.io/start.html#whitelist_blacklist http://instantclick.io/start.html#whitelist_blacklist Sorry, my copy was previously unclear about that point.
- aabalkan 13y agoWow cool!
- tripzilch 13y agoI figured as much, but please add an additional demo part to your website, something like 10 interlinking Lorem ipsum pages. Be sure to also add a few images on some pages (but not on others). I had already viewed a couple pages (to read what it is about) before I started looking for a demo, and by then I wasn't sure if it was my browser caching or your script that made the pages load snappy. Maybe also provide a 10-page Lorem ipsum "before" example, clearly marked that it does not use your library, to demonstrate the difference. I can't really tell if maybe your server is just really fast.