From 0ad6ee5746497c33686b14a20a2f3a28172c1d6a Mon Sep 17 00:00:00 2001 From: Christian Kadner Date: Mon, 8 Nov 2021 13:30:18 -0800 Subject: [PATCH] Disable UI cache in Quickstart With Docker Compose, the API and UI run locally and the API has caching for GET requests. So there is no real advantage in having yet another layer of caching in the UI. In fact, the UI cache is often getting in the way of testing the catalog by adding or deleting assets. Signed-off-by: Christian Kadner --- quickstart/docker-compose.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quickstart/docker-compose.yaml b/quickstart/docker-compose.yaml index 21fa41d1..362a9a6f 100644 --- a/quickstart/docker-compose.yaml +++ b/quickstart/docker-compose.yaml @@ -79,13 +79,15 @@ services: - "80:3000" environment: REACT_APP_BRAND: "Machine Learning Exchange" - REACT_APP_RUN: "false" REACT_APP_UPLOAD: "true" + REACT_APP_RUN: "false" REACT_APP_BASE_PATH: "" REACT_APP_API: "${DOCKER_HOST_IP:-localhost}:8080" REACT_APP_KFP: "" REACT_APP_DISABLE_LOGIN: "true" REACT_APP_GTM_ID: "${GTM_ID}" + REACT_APP_TTL: "0" + REACT_APP_CACHE_INTERVAL: "0" catalog: image: curlimages/curl