- 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.
- 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.