Cache & Rate Limit Settings #
Control server performance and protect against API abuse.
Cache Duration #
| Property | Description |
|---|---|
| Option | dmsilm_us_cache_duration |
| Default | 900 seconds (15 minutes) |
| Purpose | Update check results are cached as WP transients for this duration |
When a client checks for an update, the result is cached keyed on product_id + current_version + channel. Subsequent identical checks within the cache window return the cached result without querying the database again.
Increase this to reduce database load on busy sites (e.g., set to 3600 for 1 hour).
Decrease this if customers report not receiving updates promptly after you publish (though 15 minutes is typically acceptable).
API Rate Limit #
| Property | Description |
|---|---|
| Option | dmsilm_us_rate_limit |
| Default | 100 requests per hour per license |
| Purpose | Limit how many update check requests a single license can make per hour |
Rate-limited requests receive an HTTP 429 response. The limit resets each hour.
A well-behaved client SDK checks for updates at most once per session startup and caches the result locally. 100 requests/hour is very generous for normal use.
Increase this only if your client software legitimately makes many checks per hour (unusual).
Decrease this if you experience abuse from specific licenses making excessive requests.
