diff --git a/app/client/start-https.sh b/app/client/start-https.sh index 67a6f3a957..efe890d6ee 100755 --- a/app/client/start-https.sh +++ b/app/client/start-https.sh @@ -262,6 +262,11 @@ $(if [[ $use_https == 1 ]]; then echo " # https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors add_header Content-Security-Policy \"frame-ancestors ${APPSMITH_ALLOWED_FRAME_ANCESTORS-'self' *}\"; + # Disable caching completely. This is dev-time config, caching causes more problems than it solves. + # Taken from . + add_header Cache-Control 'no-store, must-revalidate' always; + proxy_hide_header Cache-Control; # Hide it, if present in upstream's response. + sub_filter_once off; location / { proxy_pass $frontend;