tdt / core

Transform any dataset into an HTTP API with The DataTank
http://thedatatank.com
83 stars 31 forks source link

caching policy #416

Open bertvannuffelen opened 7 years ago

bertvannuffelen commented 7 years ago

Hi,

I have a construct SPARQL query dataset definition, lets call it with a parameter . There is a caching option. Does it caches the dataset request per value of the parameter or is there only one item is cached?

kr,

Bert

coreation commented 7 years ago

If I recall correctly the caching is done on a per URI basis so that no matter what the requested data source is, a default caching policy would be in available. This has the down side of not caching a request with the request parameters in a different order however.