Skip to content

Releases: majortomate/lite-loader-for-tin-canny

Lite Loader for Tin Canny 1.0.0

Choose a tag to compare

@majortomate majortomate released this 27 Oct 20:35

First public release.

Tin Canny saves the resume bookmark of iSpring, Articulate and Captivate modules every few seconds, and each save normally boots the whole WordPress site. Lite Loader makes those requests load only Tin Canny, LearnDash and your object cache plugin.

Results on a production LMS

LearnDash + Tin Canny + BuddyBoss + WooCommerce + Elementor, ~50 active plugins, 4 vCPU:

Bookmark save (activities/state) Before With Lite Loader
Response time 1.3 – 2.6 s 0.26 – 0.45 s
Memory 112 MB 12 MB
CPU time ~1.0 – 1.7 s ~0.2 s

What it does

  • Lite mode applies only to /ucTinCan/.../activities/state requests with a stateId.
  • xAPI statements, lesson completions, every page, wp-admin, AJAX, REST, cron and WP-CLI still load the full site.
  • Nothing is written to the database. The trimmed plugin list exists only in memory, for that one request.
  • Settings live in Tools → Tin Canny Lite Loader. There is a kill switch: define( 'LLFTC_DISABLE', true );.
  • Responses in lite mode carry an X-Lite-Loader header, so you can check it in the browser's Network tab.

Install

  1. Download lite-loader-for-tin-canny.zip below. The "Source code" archives are not installable plugins.
  2. Go to Plugins → Add New → Upload Plugin, then activate.
  3. Check Tools → Tin Canny Lite Loader: the status should read Installed and up to date.

⚠️ Test on a staging copy first. Open a module as a learner, reload the page and confirm it resumes on the right slide.

Tested with WordPress 7.1, PHP 8.2, LearnDash 5.2, Tin Canny 5.2, Object Cache Pro 1.25 and iSpring content. Not tested on multisite.

Test reports with other versions, Articulate or Captivate content are very welcome in Issues.