diff --git a/components/Breadcrumb.tsx b/components/Breadcrumb.tsx
index f452eb1..4e96a31 100644
--- a/components/Breadcrumb.tsx
+++ b/components/Breadcrumb.tsx
@@ -9,7 +9,7 @@ const HomeCrumb = () => {
return (
-
+
{t('Home')}
diff --git a/pages/api/index.ts b/pages/api/index.ts
index d63bb98..4f13f63 100644
--- a/pages/api/index.ts
+++ b/pages/api/index.ts
@@ -133,7 +133,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
// Set edge function caching for faster load times, check docs:
// https://vercel.com/docs/concepts/functions/edge-caching
- res.setHeader('Cache-Control', 'max-age=60, s-maxage=3600, stale-while-revalidate')
+ res.setHeader('Cache-Control', 'max-age=0, s-maxage=600, stale-while-revalidate')
// Sometimes the path parameter is defaulted to '[...path]' which we need to handle
if (path === '[...path]') {
diff --git a/pages/api/item.ts b/pages/api/item.ts
index 2801232..322c32e 100644
--- a/pages/api/item.ts
+++ b/pages/api/item.ts
@@ -13,7 +13,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
// Set edge function caching for faster load times, check docs:
// https://vercel.com/docs/concepts/functions/edge-caching
- res.setHeader('Cache-Control', 'max-age=60, s-maxage=3600, stale-while-revalidate')
+ res.setHeader('Cache-Control', 'max-age=0, s-maxage=600, stale-while-revalidate')
if (typeof id === 'string') {
const itemApi = `${apiConfig.driveApi}/items/${id}`
diff --git a/pages/api/search.ts b/pages/api/search.ts
index cd04f83..40abfff 100644
--- a/pages/api/search.ts
+++ b/pages/api/search.ts
@@ -34,7 +34,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
// Set edge function caching for faster load times, check docs:
// https://vercel.com/docs/concepts/functions/edge-caching
- res.setHeader('Cache-Control', 'max-age=60, s-maxage=3600, stale-while-revalidate')
+ res.setHeader('Cache-Control', 'max-age=0, s-maxage=600, stale-while-revalidate')
if (typeof searchQuery === 'string') {
// Construct Microsoft Graph Search API URL, and perform search only under the base directory
diff --git a/pages/api/thumbnail.ts b/pages/api/thumbnail.ts
index 1cf0da1..652ff21 100644
--- a/pages/api/thumbnail.ts
+++ b/pages/api/thumbnail.ts
@@ -17,7 +17,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
// Set edge function caching for faster load times, check docs:
// https://vercel.com/docs/concepts/functions/edge-caching
- res.setHeader('Cache-Control', 'max-age=60, s-maxage=3600, stale-while-revalidate')
+ res.setHeader('Cache-Control', 'max-age=0, s-maxage=600, stale-while-revalidate')
// Check whether the size is valid - must be one of 'large', 'medium', or 'small'
if (size !== 'large' && size !== 'medium' && size !== 'small') {