From 17595e7d3d49bebee9868b2853356c79b9dd5c96 Mon Sep 17 00:00:00 2001 From: Kevin Biju Date: Thu, 25 Jan 2024 00:19:01 +0530 Subject: [PATCH] no-store vs no-cache --- ui/app/mirrors/edit/[mirrorId]/cdcDetails.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/app/mirrors/edit/[mirrorId]/cdcDetails.tsx b/ui/app/mirrors/edit/[mirrorId]/cdcDetails.tsx index 9837260066..b71dd15615 100644 --- a/ui/app/mirrors/edit/[mirrorId]/cdcDetails.tsx +++ b/ui/app/mirrors/edit/[mirrorId]/cdcDetails.tsx @@ -167,7 +167,7 @@ function statusChangeHandle( await fetch(`/api/mirrors/state_change`, { method: 'POST', body: JSON.stringify(req), - cache: 'no-cache', + cache: 'no-store', }); window.location.reload(); }} @@ -190,7 +190,7 @@ function statusChangeHandle( await fetch(`/api/mirrors/state_change`, { method: 'POST', body: JSON.stringify(req), - cache: 'no-cache', + cache: 'no-store', }); window.location.reload(); }}