mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 10:20:02 +07:00
Add documentation for cache control immutable
See https://github.com/nextcloud/server/pull/31141/files Signed-off-by: Carl Schwan <carl@carlschwan.eu>
This commit is contained in:
@@ -146,6 +146,10 @@ server {
|
||||
location ~ \.wasm$ {
|
||||
default_type application/wasm;
|
||||
}
|
||||
|
||||
location ~ \.(?:css|js|svg|gif|png|jpg|ico|wasm|tflite)(\?v=.*)?$ {
|
||||
add_header Cache-Control "public, max-age=15778463, immutable";
|
||||
}
|
||||
}
|
||||
|
||||
location ~ \.woff2?$ {
|
||||
|
||||
@@ -145,6 +145,10 @@ server {
|
||||
location ~ \.wasm$ {
|
||||
default_type application/wasm;
|
||||
}
|
||||
|
||||
location ~ \.(?:css|js|svg|gif|png|jpg|ico|wasm|tflite)(\?v=.*)?$ {
|
||||
add_header Cache-Control "public, max-age=15778463, immutable";
|
||||
}
|
||||
}
|
||||
|
||||
location ~ \.woff2?$ {
|
||||
|
||||
Reference in New Issue
Block a user