Closed yxzwucsd closed 1 year ago
I wrote a simple prefetching implementation but it wasn't working, didn't get a chance to debug. Feel free to try your hand on this if you have some time! Currently I use sessionStorage
on all pages viewed by a user, so if you're reading the tab and bouncing back and forth between pages you'll only see latency the first time you view any given page. Thought about using localStorage
, but the issue with that is it'll retain posts even after they're updated by my cronjob, which is bad.
Just a thought, been thinking about similar stuff in prior work, might actually get my hand on this one