mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-05-11 16:49:28 -04:00
Comment out forced caching in page data fetch to ensure fresh data retrieval
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user