Skip to content

Commit 05df502

Browse files
tatianabgopherbot
authored andcommitted
deploy: remove no-cache directive
The "no-cache" directive slows down requests, so remove it for now. Change-Id: Iaa0aea9bd4317a0ecbbfdb2bd1c8abf90026e5fb Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/476655 Reviewed-by: Tatiana Bradley <[email protected]> Auto-Submit: Tatiana Bradley <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Tatiana Bradley <[email protected]> Reviewed-by: Julie Qiu <[email protected]>
1 parent c023f0d commit 05df502

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

deploy/gcp-deploy.sh

+1-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ set -e
99
gsutil -q -m cp -r /workspace/legacydb/* gs://go-vulndb
1010

1111
# Deploy v1 database files.
12-
# The "no-cache" directive indicates that browsers may cache
13-
# the data but must first check that is is fresh by contacting the
14-
# origin server.
15-
gsutil -m -h "Cache-Control:no-cache" cp -r /workspace/db/* gs://go-vulndb
12+
gsutil -m cp -r /workspace/db/* gs://go-vulndb
1613

1714
# Deploy web files.
1815
# index.html is deployed as-is to avoid a name conflict with

0 commit comments

Comments
 (0)