mirror of
https://github.com/correl/melpa.git
synced 2024-12-22 19:17:27 +00:00
Serve badges with "Cache-Control: no-cache"
This should suppress GitHub's aggressive image caching.
This commit is contained in:
parent
77ae72e62b
commit
d75f22a690
2 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue