Skip to content
Snippets Groups Projects
Commit 1a5a5797 authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

archwiki: update the cache in the background

parent 6b98243c
No related branches found
No related tags found
No related merge requests found
......@@ -121,6 +121,9 @@ server {
# [1] https://www.fastly.com/blog/best-practices-using-vary-header/
# [2] https://github.com/nginx/nginx/commit/1332e76b20a6a1e871904525d42b17dcaed81eec
fastcgi_ignore_headers Vary;
fastcgi_cache_background_update on;
fastcgi_cache_use_stale updating;
fastcgi_cache_lock on;
add_header X-Cache $upstream_cache_status;
{% endblock %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment