Home News DOC Class DL Others Rice
Class  >  application  >  CleanUpCache
application class : CleanUpCache getter

Description

Returns a value that indicates whether the cache will be cleared.

Syntax

instance.CleanUpCache

Arguments

None.

Return value

ClassDescription
boolWhether to clear the cache.

Sample code

1:

application app;

2:

bool clear = app.CleanUpCache;

Notes

If the value is true, the browser cache will be cleared when Cooker is started. If false, nothing happens.

Please note that the value is saved. If the value is true, the browser cache will be cleared at every boot until you set it to false.

The default value is false.

If other Cooker is not running, the cache is cleared . Otherwise, clearing will be skipped.

Links for reference

None.

Copyright © Rice All rights reserved.