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 multiple Cookers are started from Cooker.exe in the same directory, the cache is shared. In this case, clearing the cache by the later launched Cooker will skip.

The cache is cleared only if no other Cooker is running from Cooker.exe in the same directory.

Links for reference

None.

Copyright © Cooker All rights reserved.