by lilouartz on 8/25/24, 1:48 PM with 25 comments
by pbowyer on 8/25/24, 7:50 PM
> This is the only thing that I was not able to figure out.
For good reason, because (at the last time I tried this earlier this year) Cloudflare documents stale-while-revalidate as if it's supported [1], but it isn't [2], [3].
Cloudflare instead has a different behaviour [4], [5] which helps in some circumstances but not all.
I use Fastly's free CDN plan to get round this.
1. https://developers.cloudflare.com/cache/concepts/revalidatio...
2. https://community.cloudflare.com/t/support-for-stale-while-r...
3. https://community.cloudflare.com/t/when-will-cloudflare-full...
4. https://kerkour.com/cloudflare-stale-while-revalidate
5. https://stackoverflow.com/questions/48124415/does-cloudflare...
by turtlebits on 8/25/24, 6:36 PM
I'm not a big fan of adding more complexity (infra and money) to improve performance.
by arghwhat on 8/25/24, 9:57 PM
by daviding on 8/25/24, 5:27 PM
by j45 on 8/25/24, 7:20 PM
Also have heard things like jscompress to reduce the number of calls on loading a page can go a long way too to boost speed.
by wetimeai on 8/25/24, 7:43 PM
by taw1285 on 8/26/24, 5:16 PM