Comment out forced caching in page data fetch to ensure fresh data retrieval

This commit is contained in:
MartinBraquet
2026-05-10 13:35:02 +02:00
parent cd5d581e63
commit c1d44c4cea

View File

@@ -22,7 +22,7 @@ export const getPageData = async (route = '/') => {
const url = `${DEPLOYED_WEB_URL}/api/proxy-data?path=${buildId}/${cleanRoute || 'index'}.json`
debug('Fetching data from:', url)
const res = await fetch(url, {
cache: 'force-cache',
// cache: 'force-cache', // must fetch fresh data if their profile changed or got deleted
})
if (!res.ok) {