THE CACHE SIZE SETTINGS PAGE

Because this section is so large, it is broken down into multiple parts:

 OVERVIEW

This page is where you control how CacheSentry Pro manages the cache. Every few minutes (depending on how you have set this delay in the Options page) the cache is scanned and managed when the cache folder is actively being used. Each time the cache is scanned and decisions are made whether to delete content you do not want is referred to the cache management cycle. The order of the cache management cycle is as follows:

 THE SETTINGS PAGE PROPERTIES

Overall cache size
The first setting you will see on this page is the overall cache size setting. This is where you set how large you wish to have the Internet Explorer cache grow. The value is is megabytes and this setting is global - it applies to all of the content in the cache as a whole and not to individual cache managers. Note that this value is not a hard limit - depending on how you set the managers to wait for files to age a certain amount before they are available for deletion, the cache may grow larger than the value you set here.

Manager list selector
Next you will see a control that lists and lets you select the manager you want to edit. Do a left mouse button click on the down-pointing arrow to see the list. You can scroll through the list with the scrollbar located on the right. When you select a new manager from the list, its properties are updates in the buttons and controls displayed below. Also, the selector lets you type into it so you can change the name of the currently selected manager.

Change Order
When you click this button, a window will pop open that will allow you to change the order in which the managers are run during a cache management cycle. Managers at the top of the list are run first, while managers at the bottom of the list are run last. To change the order, select a manager in this window you wish to move and use the up and down arrows on the left hand side to move it up and down in the list. Press OK when you have finished changing the order of the managers. If you change your mind and want to undo your changes, press Cancel.

Add Manager
Clicking this button creates a new manager in the list. It will be given a generic name so you'll want to rename it to something meaningful to what it manages. In general, there is no limit to the number of managers you can have in a set but remember: The more managers you have, the more work (and time) the CPU will take to manage the cache!

Remove Selected
Removed the currently selected manager from the list. Once you delete it, you cannot get it back so you will have to recreate it if you make a mistake. It is OK to have no managers in the set but of course that is totally pointless! :-)

Load List
Loads a new set of managers from a file on your hard drive. A dialog window will open so you can select the CacheSentry Manager set (.csm) file to load. The current list of managers will be replaced by the list in the new set. Also, this new set will become the set that will load automatically the next time you start CacheSentry Pro.

Save List
Saves the current set of managers to a file. A dialog will open allowing you to select the name of the file to save the list under. This command also makes the newly saved set the default set which will load the next time CacheSentry Pro starts.

MANAGER PROPERTIES
This section is the set of properties/settings that define how the currently selected manager behaves.

Type of Content
Sets the type of content this manager can work on. There are several types:

Manager sees files named
Here you can enter a pattern to match files against, and the manager will only work on files that match this pattern. You can enable this filter (and enter the pattern) by checkmarking the box on the left of it. There are some important rules to know about when using pattern matching:

Files this manager sees...
This setting allows you to limit the manager to only see content that is larger, smaller, or equal to a size (in kilobytes) that you set. In order to enable this filter you must checkmark the box on the left of it.

This manager will not delete its files until...
This prevents a manager from deleting its assigned content until it hasn't been used for a set amount of time. By "unused" that means the last-access time hasn't changed for that specified time period. The main purpose of this setting is to prevent the manager from trying to delete content that might still be in use. (Trying to delete content that is still in use results in an error #32 message in the activity log.) Also, you can use this setting to ensure cached content stays around for a minimum amount of time if you want to make sure certain types of content are always available in the cache. (For example the favorites icons.) You can specify the amount of time a file must go unused for in either days or hours. When you change one value, the other one is automatically calculated. The hours value is always the value that is used - the days value simply calculates the hours value for you.

Size calculation inclusion
This setting determines when and if the content that is assigned to this manager is included in the total cache size calculation. You may ask why you would ever not want to immediately include the size of content in the cache size calculation, and the reason is simple: If you download a large file it will very likely wipe out a large portion of your cached content, even while it is downloading! Also, content that you may want to always exist in the cache can have its inclusion in the cache size calculation disabled so it appears "invisible" and won't affect the deletion of other content from the cache. Conversely, content that you deem as truly "temporary" (content that will get deleted as soon as it is seen) you probably won't want to include in the size calculation as that will protect all of the content that you do want to keep from being deleted before this "temporary' content. There are three ways to control size inclusion:

  1. Content is not deleted until it passes its aging value set in the "When to delete..." setting described above. Obviously, if you don't use the "when to delete" setting for this manager, this option will not be available and will be grayed out.
  2. Always include content in the size calculation. This is the main setting to use for standard content.
  3. Never include content in the size calculation. Pretty much self-explanatory. Stray URLs and cookies always use this setting (and it is not changeable) because cookies are separate from the cache (and thus don't belong in the cache size calculation) and stray URLs don't have any real files so they don't take up any real space. (They take up space in the index.dat file, but because the index.dat file is not included in the cache size calculation, stray URLs effectively don't take up any space from CacheSentry Pro's point of view.)

Delete content ASAP
Normally, you want the cache to fill to the maximum size you set in the maximum cache size setting and do not want content to be removed until that limit is reached. However for some nuisance content you may want to delete such content immediately. For example, the zero-byte stray files generated by Outlook Express are deleted immediately (after they have gone unused for a while because they do nothing other than take up space in the hard drive's directory listing (and slow the filesystem down). Note that like the size calculation, you cannot set this for cookies and stray URLs because again those two types of content aren't included in the cache size calculation and therefore waiting until the cache fills up is meaningless to them. (They are always deleted as soon as any set "aging" has passed.)

 TIPS

 ABOUT THE INCLUDED MANAGER SETS

The factory default set

David's default manager set

This is what I use on my own computer. It is basically the same with a few additions to handle my development environment needs:

Time-based manager set

This set of managers is an example of how to force content to stay in the cache for a specific amount of time. Zero-byte strays are still deleted ASAP, but large content, stray files, and normal content all must go unused (and therefore stay around) for at least 20 days before they can be considered for deletion. Icons, stray URLs and cookies are still the same as with the default manager set. It doesn't really matter how small you set your cache size to - the usable content will always stay around for at least 20 days. Plus, it may stay around longer if the cache hasn't filled up to that maximum cache size setting. If you want to use this set and have content forced to stay around longer, go through each of the managers that is set to make their content not be deleted for 20 days and increase the value. (Or lower it if you want to shorten the content lifespan.)

Manual stray cleaner

This set demonstrates how to set up CacheSentry Pro to be a manual stray file cleaner. It cleans out all of the stray files immediately. Just make sure you turn auto-management off otherwise you'll lose all of those files as soon as the first management cycle occurs! This manager set contains no other managers except for the stray cleaner, so it won't touch any other files.

Manual cookie cleaner

This set immediately cleans out your cookie folder. Again, make sure auto-management is disabled. It is basically the same as the stray cleaner above, except it looks for cookies instead of stray files for the content type.


Return to the Table of Contents/Main help page