Revert "chore: Add Cache-Control header for static assets" (#22174)
Reverts appsmithorg/appsmith#21951 Merged by accident.
This commit is contained in:
parent
7b6a46d08d
commit
9ae13042a2
|
|
@ -76,7 +76,6 @@ server {
|
|||
# If the path has an extension at the end, then respond with 404 status if the file not found.
|
||||
location ~ ^/(?!supervisor/).*\.[a-z]+$ {
|
||||
try_files \$uri =404;
|
||||
add_header Cache-Control "max-age=31104000, immutable"; # 360 days
|
||||
}
|
||||
|
||||
location /api {
|
||||
|
|
|
|||
|
|
@ -93,7 +93,6 @@ server {
|
|||
# If the path has an extension at the end, then respond with 404 status if the file not found.
|
||||
location ~ ^/(?!supervisor/).*\.[a-z]+$ {
|
||||
try_files \$uri =404;
|
||||
add_header Cache-Control "max-age=31104000, immutable"; # 360 days
|
||||
}
|
||||
|
||||
location /api {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user