Cache

Functions

  • CacheClear Flushes the cache
  • CacheCount Returns the amount (integer) of keys stored in the cache.
  • CacheDelete Deletes a single element from the cache.
  • CacheGet Gets an object that is stored in the cache.
  • CacheGetAll this function return a structure containing all elements inside the cache.
  • CacheGetAllIds this function return a array containing all keys inside the cache.
  • CacheGetDefaultCacheName return the default cache name for a specific type
  • CacheGetMetadata returns a structure with some Metadata regarding the cache elements
  • CacheGetProperties Gets the cache properties for the object cache, the page cache, or both.
  • CacheIdExists Returns true/false whether the cache contains an element with the certain id.
  • CacheKeyExists this function is deprecated
  • CachePut Stores an object in the cache, with a life time and a idle time.
  • CacheRegionExists this function exists solely for the purpose of compatibility with other CFML Engines.
  • CacheRegionNew This function exists solely for the purpose of compatibility with other CFML Engines.
  • CacheRegionRemove this function exists solely for the purpose of compatibility with other CFML Engines.
  • CacheRemove removes elements from cache defined with argument ids.
  • CacheRemoveAll this function is deprecated, use instead cacheClear. Removes all elements from the cache
  • CacheSetProperties This function is not supported by Lucee
  • ComponentCacheClear flush the component path cache
  • ComponentCacheList list elements in the component path cache
  • CtCacheClear flush the customtag path cache
  • CtCacheList list elements in the customtag path cache
  • EntityLoad Loads and returns an array of entities of the specified entityname.
  • PagePoolClear clear pages in pools
  • PagePoolList list all pages in pools
  • Query create ans populates a query object in the form query(columnName1:[1,2,3],columnName2:[4,5,6])
  • QueryExecute Executes a SQL query, returns the result.
  • SystemCacheClear clears all caches or the specified cache

Guides

Tags

  • <cfcache> Speeds up page rendering when dynamic content
  • <cffile> Handles all interactions with files
  • <cfhttp> Lets you execute HTTP POST and GET operations on files.
  • <cfobjectcache> Flushes a object cache or returns the current size.
  • <cfquery> Passes SQL statements to a data source. Not limited to queries.