You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

SimpleCache


Instantiates a new SimpleCache object.

Example:

SimpleCache
let cacheSystem = new SimpleCache();


resetCacheSystemUrl()


This method resets the cache current timestamp specified in the sys_cache_system_url table. As a result:

  1. All the records in the table are updated.
  2. The actual_for_datetime field value is changed to the date and time when the method was called.



Return:

TypeDescription
BooleanReturns true if the cache was reset successfully; otherwise, it returns false.


Example:

resetCacheSystemUrl
let cacheSystem = new SimpleCache();
cacheSystem.resetCacheSystemUrl();

  • No labels