UnifiedCacheHostBase (open)

Syntax

LOADLIB "mod::system/lib/webserver/unifiedcachehost.whlib";

OBJECTTYPE UnifiedCacheHostBase

Constructor

Variables

  • STRING hosthash

    The hash used by this cachehost. You should set this (and also pass it to all Getcached... calls) if you want to make sure your cachehost can't be avoided, eg by using the /.uc/ URLs. You want this if your cachehost eg. watermarks images

    Modifying the hosthash invalidates all previously created GetCached.. URLs which used the wrong hash, so you can also use this to ensure no existing image URLs are valid after changing your postprocessor.

Functions