mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-25 12:30:37 +03:00
F: Enable caching for generated assets
This commit is contained in:
parent
e144d20f2d
commit
1e41ef74ee
|
@ -75,4 +75,10 @@ server {
|
|||
proxy_pass http://innerreact;
|
||||
proxy_redirect default;
|
||||
}
|
||||
|
||||
location /assets/ {
|
||||
proxy_pass http://innerreact/assets/;
|
||||
expires 1y;
|
||||
add_header Cache-Control "public, max-age=31536000, immutable";
|
||||
}
|
||||
}
|
|
@ -12,6 +12,10 @@
|
|||
<meta name="google-site-verification" content="bodB0xvBD_xM-VHg7EgfTf87jEMBF1DriZKdrZjwW1k" />
|
||||
<meta name="yandex-verification" content="2b1f1f721cd6b66a" />
|
||||
|
||||
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
|
||||
<meta http-equiv="Pragma" content="no-cache" />
|
||||
<meta http-equiv="Expires" content="0" />
|
||||
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link
|
||||
|
|
Loading…
Reference in New Issue
Block a user