-
Sub-task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
Instead of having components always ask the backend for immutable data, we should request it only once and store it in the frontend.
Instead of having components always ask the backend for immutable data, we should request it only once and store it in the frontend.
We only cache truly immutable data for now. Adding heuristics to cache mutable data would introduce too much complexity for too little benefit. omran.abazeed also had the idea to control caching via the cache-control response header, allowing the backend to control how the browser caches data and reducing frontend complexity. I like this idea and propose to discuss this in the next team meeting.