Manual     Reference     Scripting  
  
Scripting > Runtime Classes > Caching   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Attributes
  • Enumerations
  • History
  • Index
  • Caching
  • All Members
  • Class Variables
  • enabled
  • expirationDelay
  • maximumAvailableDiskSpace
  • ready
  • spaceFree
  • spaceOccupied
  • Class Functions
  • Authorize
  • CleanCache
  • IsVersionCached
  • MarkAsUsed
  • ResetNoBackupFlag
  • SetNoBackupFlag

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.