serowwanie staticow fix

This commit is contained in:
Mateusz Gruszczyński committed 2025-08-28 11:55:00 +02:00
1 parent 248d1dcd84
commit d42ce7fcc4
3 files changed
+22 -11

No files matched your search

+4
View File
@@ -38,6 +38,10 @@ class Config:
# Indeksowanie / cache / robots
BLOCK_BOTS = _get_bool("BLOCK_BOTS", True)
CACHE_CONTROL_HEADER = _get_str("CACHE_CONTROL_HEADER", "max-age=600")
CACHE_CONTROL_HEADER_STATIC = _get_str("CACHE_CONTROL_HEADER_STATIC", "max-age=3600")
USE_ETAGS = _get_bool("USE_ETAGS", True)
PRAGMA_HEADER = _get_str("PRAGMA_HEADER", "")
ROBOTS_TAG = _get_str("ROBOTS_TAG", "noindex, nofollow, nosnippet, noarchive")