en.help.ref-protocolfilecacheedit.html Maven / Gradle / Ivy
Show all versions of console-web-plugin-help
File Cache
Use the File Cache page to modify file cache settings for a
network protocol.
The File Cache page contains the following options.
- Load Defaults
Button to restore the default values of all the settings.
- Protocol Name
The name of the protocol. The Protocol Name field is a read-only field. You can only specify the name when you create a new protocol.
- Status
If this option is selected, the file cache status is enabled. This option is selected by default.
- Max Age
The maximum age, in seconds, for a valid cache entry.
This parameter controls how long cached information is used after a file has been cached. An entry older than the maximum age is replaced by a new entry for the same file. If your content changes infrequently, increase this value for improved performance.
The optimum maximum age depends on whether existing files are modified regularly. For example, if files are modified four times a day at regular intervals, consider setting the maximum age to 21600 seconds (6 hours). Otherwise, consider setting the maximum age to the longest time for which you are willing to serve the previous version of a file after the file has been modified.
The default value is 30.
- Max Cache Size
The maximum total size (in bytes) of the file cache on disk. The default value is 10485760.
- Max File Count
The maximum number of files that can be stored in the file cache.
If the value is too big, the server caches little-needed files, which wastes memory. If the value is too small, the benefit of caching is lost. Try different values of this attribute to find the optimal solution for specific applications.
The default value is 1024.
Related Tasks
Related asadmin Commands