fix: set Cache-Control header to no-cache io. must-revalidate for datalayer
"Cache-Control: must-revalidate" without max-age is confusing. Firefox keeps caching the page, while Chrome doesn't.
This commit is contained in:
parent
9da99c6e00
commit
92f5f19f03
@ -21,6 +21,8 @@ RUN set -eux && \
|
||||
apt-get autoremove --purge -y && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN sed -i 's/must_revalidate/no_cache/' /srv/umap/venv/lib/python3.9/site-packages/umap/urls.py
|
||||
|
||||
ADD umap.conf /etc/umap/umap.conf
|
||||
ADD uwsgi.ini /srv/umap/uwsgi.ini
|
||||
ADD drop-privileges.sh /srv/umap/drop-privileges.sh
|
||||
|
Loading…
Reference in New Issue
Block a user