1 images
Description
A plugin for GrapesJS that provides rate-limited storage, allowing you to save changes immediately and then cool down for a specified period before saving again.
This plugin will intercept when user saves a website and make sure it doesn't occure more than once every second or any duration you setup
Features
- Works with any storage: This plugin place itself between the storage and your app.
- Immediate Save: The first save is performed immediately.
- Cooldown Period: After saving, the plugin enters a cooldown period during which subsequent saves are ignored.
- Post-Cooldown Save: If there are more calls to the
store
function during the cooldown, one final save occurs after the cooldown expires, and the cooldown period restarts.
Check https://github.com/silexlabs/grapesjs-storage-rate-limit