You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by us...@apache.org on 2020/02/24 22:56:27 UTC
[lucene-site] branch master updated: Add a comment about the
Cache-Control header
This is an automated email from the ASF dual-hosted git repository.
uschindler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-site.git
The following commit(s) were added to refs/heads/master by this push:
new ba91c45 Add a comment about the Cache-Control header
ba91c45 is described below
commit ba91c45a8cdef9da36159cbf625f83e91e3805aa
Author: Uwe Schindler <us...@apache.org>
AuthorDate: Mon Feb 24 23:56:14 2020 +0100
Add a comment about the Cache-Control header
---
pelicanconf.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pelicanconf.py b/pelicanconf.py
index 6d1d962..6f2bdcf 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -14,7 +14,8 @@ LUCENE_LATEST_RELEASE = '8.4.1'
LUCENE_LATEST_RELEASE_DATE = datetime(2019, 12, 3)
LUCENE_PREVIOUS_MAJOR_RELEASE = '7.7.2'
-# This string will be appended to all unversioned css and js resources to prevent caching surprises on edits
+# This string will be appended to all unversioned css and js resources to prevent caching surprises on edits.
+# The theme's htaccess file also sets a cache-control header with longer lifetime, if the v=XXXX query string is added.
STATIC_RESOURCE_SUFFIX = "?v=%s" % dirhash('themes/lucene/static', 'sha1')[-8:]
PATH = 'content'