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
Owner
No description provided.
jusemon added 2 commits 2025-11-26 19:40:28 -05:00
- 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.
refactor: update caching strategy for JavaScript files
All checks were successful
Build and Publish Docker Image / Build and Validate (pull_request) Successful in 10s
ab82a6f874
- 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.
jusemon scheduled this pull request to auto merge when all checks succeed 2025-11-26 19:40:34 -05:00
jusemon canceled auto merging this pull request when all checks succeed 2025-11-26 19:40:37 -05:00
jusemon scheduled this pull request to auto merge when all checks succeed 2025-11-26 19:40:40 -05:00
jusemon merged commit 98ec60641d into main 2025-11-26 19:40:41 -05:00
jusemon deleted branch hotfix/cache-bust-all-js-files 2025-11-26 19:40:41 -05:00
jusemon referenced this pull request from a commit 2025-11-26 19:40:42 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: jusemon/threejs-test#21
No description provided.