Home News DOC Class DL Others Rice
Class  >  application  >  CleanUpCache(bool)
application class : CleanUpCache(bool) setter

Description

Sets a value that indicates whether to clear the cache.

Syntax

instance.CleanUpCache = value;

Assigned value

ClassDescription
boolWhether to clear the cache.

Return value

None.

Sample code

1:

application app;

2:

app.CleanUpCache = true;

Notes

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

Please note that the value is saved. If sets 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.