ePages 6.17.17 - DE_EPAGES/Presentation/API/PageCache.pm

Package DE_EPAGES::Presentation::API::PageCache

Interface for page cache handling. see also DE_EPAGES::Object::API::PageCache.

@EXPORT_OK
UpdatePageCache
InvalidatePageCache
DeleteCacheFiles

Functions

DeleteCacheFiles
InvalidatePageCache
UpdatePageCache

DeleteCacheFiles

Delete the static files of each currency and locale for the given object

Syntax
DeleteCacheFiles($Object, $ViewActionName,$hParams);
Input
$Object (object)
object
$ViewActionName (string)
name of the ViewAction
$hParams (hash)
additional params like sort order

InvalidatePageCache

Sets PageCacheLastInvalidation to current date. (obsolete use DE_EPAGES::Object::API::Object::Site::invalidatePageCache)

Syntax
InvalidatePageCache($Site);
Input
$Site (object)
site object

UpdatePageCache

Updates page cache date of the object's site if the object is an instance of one of the pre-defined classes. These classes influence the content which is shown on storefront pages. (obsolete use DE_EPAGES::Object::API::Object::Object::updatePageCache)

Syntax
UpdatePageCache($Object);
Input
$Object (object)
the object