From 1dc67ba30bfb722cf1a6b2e6294aeb13acf15bfc Mon Sep 17 00:00:00 2001 From: Alessandra Vertrees Date: Tue, 30 Apr 2024 09:12:55 -0700 Subject: [PATCH 1/2] remove 24 hour cache of featured item --- src/pages/api/featuredItem.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/pages/api/featuredItem.ts b/src/pages/api/featuredItem.ts index 2f7e3658..9763b994 100644 --- a/src/pages/api/featuredItem.ts +++ b/src/pages/api/featuredItem.ts @@ -39,9 +39,6 @@ const featuredItemDataHandler = async ( }`, }; - // 24 hour cache - response.setHeader("Cache-Control", "s-maxage=86400"); - return response.status(200).json({ featuredItem: featuredItemObject, numberOfDigitizedItems: numDigitizedItems, From 16288047765d73f77b6c551aa82fd700b794a14c Mon Sep 17 00:00:00 2001 From: Alessandra Vertrees Date: Tue, 30 Apr 2024 09:16:05 -0700 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cb332d2..a5b6d146 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +## [0.1.6] 2024-04-30 + +### Removed + +- removed caching for the featured item (DR-2944) + ## [0.1.5] 2024-04-29 ### Added @@ -20,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Updated - Run homepage images tests 10x in parallel (DR-2937) +- Updated Travis file to point to new AWS clusters (DR-2943) ## [0.1.4] 2024-04-11