Good to know. I think I'm starting to understand how dev.to work and why it is so fast (hover on link => make request and store result in cache, click on link = assign url and load cached content).
I may implement those tricks to enhance user experience on my websites :)
Good to know. I think I'm starting to understand how dev.to work and why it is so fast (hover on link => make request and store result in cache, click on link = assign url and load cached content).
I may implement those tricks to enhance user experience on my websites :)
We use InstantClick for that "hover on link => make a request" effect :) instantclick.io/
Loading cached content is mostly because of Fastly!
Most of the pages are Rails pages, and there's some Preact mixed in every once in a while.
Don't really know how caching is managed or anything about the Rail framework, but instanclick seems to be a gold nugget!
Thanks for the link, and bravo for this insanely fast website :)
woooo, would love to see the inner working of how dev.to works 🤩
It's Preact. You can find source code on GitHub.