Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
SimpleCache
Use the constructor to create a SimpleCache object.
Example:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
let cacheSystem = new SimpleCache(); |
resetCacheSystemUrl()
This method resets the cache current timestamp specified in the sys_cache_system_url table. As a result:
- All the records in the table are updated.
- The actual_for_datetime field value is changed to the date and time when the method was called.
Return:
Type | Description |
---|---|
Boolean | Returns true if the cache was reset successfully; otherwise, it returns false. |
Example:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
let cacheSystem = new SimpleCache(); cacheSystem.resetCacheSystemUrl(); |
Table of Contents | ||||
---|---|---|---|---|
|