Offline grace period¶
Image Rotation keeps working for 7 days after the last successful license check, even if our licensing server is completely unreachable.
How the cache works¶
On every successful daily revalidation, the plugin stores an encrypted snapshot of your license state — tier, expiry, seat count, entitlements — in a WordPress option, encrypted with AES-256-GCM. The encryption key is derived from wp_salt, which is unique per site and not stored alongside the cache.
What happens when our server is unreachable¶
- The plugin tries the daily revalidation as scheduled.
- If the request fails, it falls back to the cached state.
- This continues for up to 7 days.
- An admin banner warns you starting at day 5 if revalidation has been failing.
- After 7 days without a successful revalidation, the plugin reverts to Free tier behavior.
What this means for you¶
If our licensing server has a 30-minute outage, you will not notice. If it is down for more than a week, your customers will see Free-tier behavior briefly while we recover. Your image URLs continue to resolve correctly throughout — caching only affects tier entitlements (extra schedules, custom branding), not the image-serving code path.
Forcing a revalidation¶
WP Admin → Image Rotation → License → click Re-validate now. This bypasses the daily cron and immediately attempts a fresh check.