The class provides a method that resets the cache.
Use the constructor to create a SimpleCache object.
Example:
let cacheSystem = new SimpleCache(); |
Use this method to reset the current timestamp of the cache specified in the URL Caches (sys_cache_system_url) table. As a result:
Return:
Type | Description |
---|---|
Boolean | This method returns true if the cache was reset successfully; otherwise, it returns false. |
Example:
let cacheSystem = new SimpleCache(); cacheSystem.resetCacheSystemUrl(); |