mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-25 17:27:18 +00:00
Set max-age=0 on resources that should not be cached
This commit is contained in:
parent
979ea449bd
commit
fc2a586453
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ namespace Sonarr.Http.Extensions
|
|||
|
||||
public static IDictionary<string, string> DisableCache(this IDictionary<string, string> headers)
|
||||
{
|
||||
headers["Cache-Control"] = "no-cache, no-store, must-revalidate";
|
||||
headers["Cache-Control"] = "no-cache, no-store, must-revalidate, max-age=0";
|
||||
headers["Pragma"] = "no-cache";
|
||||
headers["Expires"] = "0";
|
||||
|
||||
|
|
Loading…
Reference in a new issue