Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The method of this class allows you to reset the cache.

SimpleCache


Use the constructor to create a SimpleCache object.

Example:

Code Block
languagejs
themeEclipse
titleSimpleCache()
linenumberstrue
let cacheSystem = new SimpleCache();

resetCacheSystemUrl()


This Use this method resets to reset the cache current timestamp of the cache specified in the the URL Caches (sys_cache_system_url) table. As a result:

  1. All the records in the table are updated.
  2. The actual_for_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:

Code Block
languagejs
themeEclipse
titleresetCacheSystemUrl()
linenumberstrue
let cacheSystem = new SimpleCache();
cacheSystem.resetCacheSystemUrl();


Table of Contents
absoluteUrltrue
classfixedPosition