Lingo Dictionary > A-C > clearCache

 

clearCache

Syntax

clearCache

Description

Command; clears Director's network cache.

The clearCache command clears only Director's cache, which is separate from the browser's cache.

If a file is in use, it remains in the cache until it is no longer in use.

Example

This handler clears the cache when the movie starts:

on startMovie
	clearCache
end

See also

cacheDocVerify(), cacheSize()