Hotfix/Cache bust all js files #21

Merged
jusemon merged 2 commits from hotfix/cache-bust-all-js-files into main 2025-11-26 19:40:41 -05:00

2 commits

Author SHA1 Message Date
ab82a6f874 refactor: update caching strategy for JavaScript files
All checks were successful
Build and Publish Docker Image / Build and Validate (pull_request) Successful in 10s
- Modified caching behavior for JavaScript files to cache those with version query parameters for 1 year (immutable).
- Ensured that files without version parameters are not cached, improving cache management and reducing potential stale content issues.

This change enhances the efficiency of resource loading in production environments.
2025-11-26 19:40:06 -05:00
5d6271f60c feat: add cache busting script for JS imports during Docker build
- Introduced a new script to append version query parameters to JS imports, ensuring proper cache busting in production.
- Updated Dockerfile to copy and execute the cache busting script during the build process.

This enhancement simplifies cache management for JavaScript files in production environments.
2025-11-26 19:39:59 -05:00