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 <tatianabradley@google.com>
Auto-Submit: Tatiana Bradley <tatianabradley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Tatiana Bradley <tatianabradley@google.com>
Reviewed-by: Julie Qiu <julieqiu@google.com>
This commit is contained in:
Tatiana Bradley 2023-03-15 15:39:28 -04:00 коммит произвёл Gopher Robot
Родитель c023f0d4b1
Коммит 05df5029c4
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -9,10 +9,7 @@ set -e
gsutil -q -m cp -r /workspace/legacydb/* gs://go-vulndb
# Deploy v1 database files.
# The "no-cache" directive indicates that browsers may cache
# the data but must first check that is is fresh by contacting the
# origin server.
gsutil -m -h "Cache-Control:no-cache" cp -r /workspace/db/* gs://go-vulndb
gsutil -m cp -r /workspace/db/* gs://go-vulndb
# Deploy web files.
# index.html is deployed as-is to avoid a name conflict with