Skip to content

doc(datatrakWeb): add offline/PWA performance audit findings - #6888

Draft
jaskfla wants to merge 1 commit into
devfrom
doc/datatrak-web-offline-performance-audit
Draft

jaskfla wants to merge 1 commit into
devfrom
doc/datatrak-web-offline-performance-audit

Conversation

@jaskfla

@jaskfla jaskfla commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds packages/datatrak-web/PERFORMANCE_AUDIT.md documenting ranked quick-win performance optimisations for DataTrak when installed as a PWA (PGlite/IndexedDB offline path).
  • Focuses on opportunities beyond SQL-call batching (already in progress elsewhere): service worker precache gaps, PGlite durability, autocomplete debounce, scoped cache invalidation, idle sync skips, JS bundle trim, and moving PGlite to a worker.

Test plan

  • Confirm the markdown renders correctly on GitHub
  • Skim rankings for accuracy against current workbox-config.js, getConnectionConfig.ts, and ClientSyncManager.ts

@jaskfla
jaskfla force-pushed the doc/datatrak-web-offline-performance-audit branch from f3d2dfd to 6308f01 Compare August 26, 2026 00:52
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