Caching is super important. I've only worked on mo...
# ktor
c
Caching is super important. I've only worked on mobile (android) and although I understand the basics of http, I'm really just now diving into headers and caching specifically. At the same time I'm learning a bit of backend development with ktor and I really want to nail my caching mechanism. It seems silly to me that so many backend systems don't have caching setup properly. I've read that there are ways to just use timestamps or tokens so that a server doesn't send you the same damn data again. Going off of this though, as a super new "backend" dev does anyone have any seminal talks or blog posts on the subject? Thank you
d
caching is only as good as the underlying data - if you only get 1 request asking for the specific data caching won’t give you anything and most likely will cause issues (depending on the type of caching strategy you might evict something that you shouldn’t or it will cost crazy amounts of money to cache data that won’t ever be accessed)
c
I'm moreso talking about caching headers. Not how to actually implement it on the backend. Example is Etag vs Modified-Last headers.