Joakim Jäderberg
a56290edc7
Merged in fix/SW-2401-share-cache-in-prod (pull request #1815 )
...
Fix/SW-2401 share cache in prod
* fix: reuse cache between prod and pre-prod
* tests: add tests for generating cachePrefix
* tests: remove unnecessary reset of process.env
* tests: add tests for generateCacheKey
* fix: make sure that we don't get invalid cacheKeys
* fix: make sure that we don't get invalid cacheKeys
Approved-by: Linus Flood
2025-04-17 08:57:21 +00:00
Linus Flood
dd3fed9423
Merged in fix/cache-service-token (pull request #1571 )
...
fix(servicetoken): cache it when using unstable_cache
* fix(servicetoken): cache it when using unstable_cache
* Refactor and using cacheOrGet as get/set
* Refactor
* Use expiresAt from cached token
Approved-by: Anton Gunnarsson
2025-03-19 09:16:11 +00:00
Anton Gunnarsson
d5b47be2f2
Merged in fix/handle-cache-delete-without-hit (pull request #1556 )
...
Don't return from cache deleteKey
* Don't return from cache deleteKey
Approved-by: Linus Flood
2025-03-17 16:19:55 +00:00
Linus Flood
f183125bc6
Merged in fix/cache-fixes (pull request #1555 )
...
fix/cache: reduce cachetime when null response from CS. Fix fuzzy delete
* fix/cache: reduce cachetime when null response from CS. Fix fuzzy delete
Approved-by: Anton Gunnarsson
2025-03-17 14:39:59 +00:00
Joakim Jäderberg
fa63b20ed0
Merged in feature/redis (pull request #1478 )
...
Distributed cache
* cache deleteKey now uses an options object instead of a lonely argument variable fuzzy
* merge
* remove debug logs and cleanup
* cleanup
* add fault handling
* add fault handling
* add pid when logging redis client creation
* add identifier when logging redis client creation
* cleanup
* feat: add redis-api as it's own app
* feature: use http wrapper for redis
* feat: add the possibility to fallback to unstable_cache
* Add error handling if redis cache is unresponsive
* add logging for unstable_cache
* merge
* don't cache errors
* fix: metadatabase on branchdeploys
* Handle when /en/destinations throws
add ErrorBoundary
* Add sentry-logging when ErrorBoundary catches exception
* Fix error handling for distributed cache
* cleanup code
* Added Application Insights back
* Update generateApiKeys script and remove duplicate
* Merge branch 'feature/redis' of bitbucket.org:scandic-swap/web into feature/redis
* merge
Approved-by: Linus Flood
2025-03-14 07:54:21 +00:00