gojek/wrest

Caching: RFC 2616 13.10 Invalidation After Updation or Deletions

jasim opened this issue · 1 comments

Any PUT, DELETE or POST should invalidate existing cache entry for that URL

Cacheable responses to GET requests are stored by Wrest. However, if any of the above operations are made on the URI, the cached GET responses should be removed from cache.

Could slow down normal requests: will need to scan the cache store everytime a POST/DELETE/PUT is sent.