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 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.