Skip to content

Releases: acdh-oeaw/arche-diss-cache

Cache removal API added

07 Nov 14:23
Compare
Choose a tag to compare
  • acdhOeaw\arche\lib\dissCache\CacheInterface::delete(string $keyLike): void - low-level cache pruning (not meant for direct use)
  • acdhOeaw\arche\lib\dissCache\ResponseCache::pruneCacheForResource(string $resId): void - delete cache records for a resource with a given id
  • acdhOeaw\arche\lib\dissCache\Service\serveRequest(string $id, array $param, bool $clearCache = false): ResponseCacheItem) - the $clearCache parameter added clearing the cache for a resource with a given $id before serving the request

Caching improvements

06 Nov 15:06
Compare
Choose a tag to compare
  • Cache error responses if the exception is instance of the acdhOeaw\arche\lib\dissCache\ServiceException
  • Cache response using canonical resource URI for the cache key generation (assures reuse of response cache if different resource ids are used)

Preserve resource metadata changes made by the cache miss handler

26 Oct 10:02
Compare
Choose a tag to compare
Cache resource after response is generated

This preserves resource metadata changes done by the handler

Allow choosing cache db id

25 Oct 21:36
Compare
Choose a tag to compare
0.7.0

Service::serveRequest(): allow choosing cache database id

ResponseCacheItem::send(): add gzip compression option

25 Oct 16:53
Compare
Choose a tag to compare
0.6.0

ResponseCacheItem::send(): add gzip compression option

Service::processException() added

25 Oct 06:42
Compare
Choose a tag to compare
0.5.0

Service::processException() extracted as a public method allowing reuse

Service class added

24 Oct 22:11
Compare
Choose a tag to compare
0.4.0

Service::setCallback() introduced

RepoWrapperGuzzle can now throw UnauthorizedException

24 Oct 14:33
Compare
Choose a tag to compare
0.3.0

RepoWrapperGuzzle: recognize 401 Unauthorized and throw a correspondi…

ResponseCacheItem::send() method added

23 Oct 12:22
Compare
Choose a tag to compare
0.2.0

ResponseCacheItem::send() method added

RepoResourceCacheItem::serialize(): include whole metadata graph

15 Oct 10:39
Compare
Choose a tag to compare
0.1.3

RepoResourceCacheItem::serialize(): include whole metadata graph