Verified Commit e52c8fdc authored by Kristian Klausen's avatar Kristian Klausen 🎉
Browse files

mailman: Ensure the public archives aren't cached by the browser

It confuses the users that the browser is caching them (due to
heuristic[1]).

[1] https://developer.mozilla.org/en-US/docs/Web/HTTP/Caching#heuristic_freshness_checking
parent 9a513cad
......@@ -39,6 +39,7 @@ server {
location /pipermail {
alias /var/lib/mailman/archives/public;
add_header Cache-Control "public, no-cache";
autoindex on;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment