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.

这允许在缓存中保留文件,即使没有显式加载它们。如果url被缓存,返回true。

Page last updated: 2011-9-16