Caching.MarkAsUsed Manual     Reference     Scripting  
Scripting > Runtime Classes > Caching
Caching.MarkAsUsed

static function MarkAsUsed (url : String, version : int) : boolean

Description

Bumps the timestamp of a cached file to be the current time.

This allows you to keep files in the cache even if you are not explicitly loading them. Returns true if the url is cached.