View Single Post
Old 01-11-2026, 08:55 AM   #5
mrprobert
Connoisseur
mrprobert began at the beginning.
 
Posts: 77
Karma: 46
Join Date: Mar 2017
Device: None
Feature Request: Session ID for Plugin Cache Invalidation

I've written up a feature request for adding a Session ID to Sigil's plugin API. This would enable plugins to reliably cache expensive computations by detecting when Sigil has restarted.

Full proposal with implementation details:
https://gist.github.com/mrprobert/77...d5c20a23af8638

TL;DR:
- Problem: Plugins can't tell if Sigil restarted between invocations
- Solution: Add a simple session identifier (timestamp_pid format)
mrprobert is offline