Revert "chore: Add Cache-Control header for static assets" (#22174)

Reverts appsmithorg/appsmith#21951

Merged by accident.
This commit is contained in:
Shrikant Sharat Kandula 2023-04-07 12:40:17 +05:30 committed by GitHub
parent 7b6a46d08d
commit 9ae13042a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -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 {

View File

@ -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 {