this post was submitted on 23 Dec 2023
111 points (99.1% liked)
Boost For Lemmy
6473 readers
3 users here now
Community of the Lemmy Android Client Boost for Lemmy. Play Store Link: https://play.google.com/store/apps/details?id=com.rubenmayayo.lemmy
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
It was probably cached beforehand.
I remember on the old forum with the alien I could hit refresh constantly to see what deleted comments had said if it was cached on time.
I think the app is caching things without you having to look at them so they can instantly load. Not 100% though. It’s what I noticed happening years ago.
Servers cache stuff too. Instead of orchestrating each script and each request to db, they prerender pages to deliver. It's getting trickier with dynamic sites like reddit, but it still saves a lot in processing time, money.
The hardest thing in programming is naming things, off by one errors, and cache invalidation.
Lemmy API returns comment content even if it was removed, but with a removed flag. Boost should not show the content in the copy dialog.