What would be the cleanest way to introduce cache for routes in ktor? Anyone using anything nice?
s
spand
10/15/2018, 12:20 PM
Http level caching ?
d
Deactivated User
10/15/2018, 1:03 PM
Do you mean caching the content of the page? (DSL or template engine) Or just database requests etc?
f
frellan
10/15/2018, 1:28 PM
Database requests essentially. I have used it a lot in rails. You cache a get endpoint according to some parameters that you know will return the same result.
frellan
10/15/2018, 1:29 PM
It does not nessecerly need to be on an endpoint level, how would you do it in a nice way in general? For db requests