You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if there’s a way to implement regular HTTP caching, but only for the JSON-LD context documents if they need to be fetched externally. In the LDES client it otherwise does not make sense to have HTTP caching that stores the full response, as it is never going to be used again.
The text was updated successfully, but these errors were encountered:
I also noticed the lack of http caching in the client and came here to write an issue, but it's already there! 🥳
It otherwise does not make sense to have HTTP caching that stores the full response, as it is never going to be used again.
When developing a client (in the sense of "something that uses whatever ldes-client spits out"), caching the full http responses is actually very useful: during development one frequently resends exactly the same requests, because some other part of the code changed.
Also because the spec mentions http caching explicitly (in the first note of section 2), I expected the ldes-client to respect the cache headers.
In rdf-derefence you can pass a custom fetch function: https://www.npmjs.com/package/rdf-dereference#input-using-a-custom-fetch-function
I wonder if there’s a way to implement regular HTTP caching, but only for the JSON-LD context documents if they need to be fetched externally. In the LDES client it otherwise does not make sense to have HTTP caching that stores the full response, as it is never going to be used again.
The text was updated successfully, but these errors were encountered: