Closed vicb closed 5 months ago
The changes improve the Progressive Web Application (PWA) configuration in the fxc-front
project by increasing the maximum file size limit for caching, refining cache exclusion rules, and updating the service worker to exclude specific paths from caching. These updates help optimize the caching strategy and enhance the application's performance and resource management.
File | Change Summary |
---|---|
.../pwa.config.ts |
Increased max file size to cache, added globIgnores and new URLs to not cache-bust. |
.../src/sw.ts |
Updated isAsset function to exclude additional paths from caching. |
🌟 In the cache we trust, with strategies so grand, Files grow larger, within our command. 📦 Paths unneeded, ignored with care, For swifter loads and browsing flair. 🐇✨ Changes made, with purpose clear, Our code runs smooth, without fear. 🚀🎉
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This pull request includes minor updates to the Progressive Web App (PWA) configuration and service worker script. The changes primarily focus on refining asset caching strategies and updating cache size limits.
Files | Changes |
---|---|
apps/fxc-front/src/sw.ts apps/fxc-front/pwa.config.ts |
Enhanced asset caching strategies by excluding specific paths and increasing the maximum file size limit for caching. |
Latest commit: |
d56f015
|
Status: | ✅ Deploy successful! |
Preview URL: | https://998ba682.flyxc.pages.dev |
Branch Preview URL: | https://pwa-minor.flyxc.pages.dev |
Summary by Sourcery
This pull request enhances the PWA configuration by updating the service worker to exclude certain paths from caching, increasing the maximum file size for caching, and adding new patterns to ignore specific directories and prevent cache busting for certain URLs.
Summary by CodeRabbit
New Features
Bug Fixes