Serve badges with "Cache-Control: no-cache"

This should suppress GitHub's aggressive image caching.
This commit is contained in:
Luís Oliveira 2014-12-02 21:51:56 +00:00
parent 77ae72e62b
commit d75f22a690
2 changed files with 8 additions and 0 deletions

View file

@ -68,6 +68,10 @@ server {
proxy_busy_buffers_size 64k; proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k; proxy_temp_file_write_size 64k;
} }
location /packages/*.svg {
add_header Cache-Control no-cache;
}
} }

View file

@ -66,6 +66,10 @@ server {
proxy_busy_buffers_size 64k; proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k; proxy_temp_file_write_size 64k;
} }
location /packages/*.svg {
add_header Cache-Control no-cache;
}
} }