Skip to content

Commit

Permalink
Update to not cache page-data and app-data
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott van Looy committed Jan 17, 2022
1 parent 3073cf7 commit f654279
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ else
gsutil -m setmeta -h "Cache-Control:public, max-age="$INPUT_HTML_TTL gs://"$INPUT_BUCKET_NAME"/**/*.json
gsutil -m setmeta -h "Cache-Control:public, max-age="$INPUT_HTML_TTL gs://"$INPUT_BUCKET_NAME"/**/*.html
fi
gsutil -m setmeta -h "Cache-Control:no-cache,no-store,must-revalidate" gs://"$INPUT_BUCKET_NAME"/page-data.json
gsutil -m setmeta -h "Cache-Control:no-cache,no-store,must-revalidate" gs://"$INPUT_BUCKET_NAME"/app-data.json

0 comments on commit f654279

Please sign in to comment.