Skip to content

Skip unchanged Moodle module requests with incremental caching - #169

Merged
D-VR merged 3 commits into
masterfrom
incremental-module-cache
Jul 15, 2026
Merged

D-VR merged 3 commits into
masterfrom
incremental-module-cache

Conversation

@D-VR

@D-VR D-VR commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

Reduce repeat-sync time by caching derived page, assignment, and quiz data and using Moodle’s update metadata to avoid unnecessary API requests.

The cache invalidates conservatively and falls back to full queries whenever Moodle cannot reliably report changes, preserving existing sync behavior.

Also: No longer re-download h5p archives during every sync, drastically reducing sync time for certain courses.

@D-VR D-VR self-assigned this Jul 15, 2026
@D-VR D-VR added the enhancement New feature or request label Jul 15, 2026
@D-VR
D-VR merged commit 68cb539 into master Jul 15, 2026
6 checks passed
@D-VR
D-VR deleted the incremental-module-cache branch July 15, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant