Closed gustafnk closed 10 years ago
A solution attempt for this issue has now been pushed to https://github.com/jayway/streamflow-core/tree/feature-caching-and-simple-case-url
However, we need to test this (a lot) to see if it works in all the possible cases.
It should be possible for backend-service.js client to have a particular request NOT cached.
Use case: "list of cases for a project and project type" should never be cached.
However, for "hypermedia queries" for deep than that, what should the result be? (The client should not need to know about the server logic of of data changes). This is probably a hard problem.
We could also read the cache headers on the requests, but I'm not sure how this would work. Since the client/server communication is very chatty, it's no good to use e-tags and/or other ways of the server to indicate a cache miss.