Skip to content

feat: enhance offline caching and analytics loading - #417

Merged
chaxus merged 1 commit into
mainfrom
perf/docs-navigation-cache
Oct 4, 2026
Merged

chaxus merged 1 commit into
mainfrom
perf/docs-navigation-cache

Conversation

@chaxus

@chaxus chaxus commented Oct 4, 2026

Copy link
Copy Markdown
Owner
  • Refactor build script to precache assets based on an offline manifest.
  • Improve Baidu analytics loading to occur after page load and during idle time.
  • Update offline.ts to exclude unused font assets from caching.
  • Optimize component loading with IntersectionObserver for better performance.
  • Modify service worker to handle document caching and updates more efficiently.
  • Add tests for offline functionality, including navigation cache and analytics loading.
  • Introduce new styles for undefined heavy demo elements to improve layout.

- Refactor build script to precache assets based on an offline manifest.
- Improve Baidu analytics loading to occur after page load and during idle time.
- Update offline.ts to exclude unused font assets from caching.
- Optimize component loading with IntersectionObserver for better performance.
- Modify service worker to handle document caching and updates more efficiently.
- Add tests for offline functionality, including navigation cache and analytics loading.
- Introduce new styles for undefined heavy demo elements to improve layout.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying ran with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1d4eba0
Status: ✅  Deploy successful!
Preview URL: https://fb7ab5ae.ran-4ty.pages.dev
Branch Preview URL: https://perf-docs-navigation-cache.ran-4ty.pages.dev

View logs

@chaxus
chaxus merged commit e45f0c6 into main Oct 4, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant