PromucFlow_constructor/deploy
Diljit eceaa43eba
chore: Add cache control header for static files (#35461)
## Description
Add cache control header to static files in Caddy

Fixes #34643 

## Automation

/ok-to-test tags="@tag.All"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10987267745>
> Commit: 779d12e84054412d436e8a0c0f26878e475d7469
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10987267745&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Mon, 23 Sep 2024 04:38:28 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


## Summary by CodeRabbit

- **New Features**
- Enhanced caching strategy for static assets, improving performance and
reducing load times.
- Introduced a `Cache-Control` header for static files to optimize
browser caching.
- Updated caching configuration to allow more frequent updates of
JavaScript and CSS files.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-09-23 12:45:13 +05:30
..
ansible fix: issue with ansible deployment (#19974) 2023-01-25 10:45:04 +05:30
aws Encoding the mongo credentials in install.sh script (#310) 2020-08-17 11:10:01 +05:30
aws_ami [fix]: fix shell scripts in aws_ami (#32824) 2024-04-22 09:34:58 +05:30
digital_ocean fix: move ansible playbooks to default appsmith-ee (#29554) 2023-12-15 15:14:01 +05:30
docker chore: Add cache control header for static files (#35461) 2024-09-23 12:45:13 +05:30
helm [Feature]: Fix typos in Publish-helm-chart.md: depencies -> dependencies (#33889) 2024-05-31 18:21:18 +05:30
heroku test: Enable server tests for the PRs with base PG branch (#33429) 2024-05-22 15:55:20 +05:30
packer Packer script to build AWS and DigitalOcean images (#16617) 2022-09-14 11:03:02 +05:30