←back to thread

260 points gherkinnn | 1 comments | | HN request time: 7.02s | source
Show context
mh-cx ◴[] No.42164537[source]
I wonder why the article doesn't mention utilizing the browser cache for your static CSS and JS assets instead of introducing a service worker as first measure.

Few years ago I built a shopping site MPA this way and the page transitions were almost not noticable.

replies(7): >>42164573 #>>42164584 #>>42164743 #>>42168597 #>>42169927 #>>42170948 #>>42173755 #
1. Onavo ◴[] No.42169927[source]
Because cache invalidation is one of the two hardest problems in computer science.