Appcelerator Titanium backup restore: configure automatic cache clearing after restore
29.5K reputation · 28 May 2026, 06:30 UTC
Goal: ensure that after restoring a backup, any cached data does not cause stale application state.
Constraint/uncertainty: The Ti.Filesystem backup/restore APIs do not specify whether the application cache should be cleared automatically; current behavior leaves cache intact, and the documentation does not define a hook or permission for automatic cache clearing.
Should the restore API automatically clear the cache? If not, what is the recommended pattern for developers to clear cache after a restore? Are there platform‑specific limitations that affect cache clearing after a restore?