All Downloads are FREE. Search and download functionalities are using the official Maven repository.

en.help.task-protocolfilecacheedit.html Maven / Gradle / Ivy

The newest version!



To Edit File Cache Settings for a Protocol

  1. In the navigation tree, expand the Configuration node.
  2. Under the Configuration node, expand the Network Config node.
  3. Under the Network Config node, select the Protocols node.

    The Protocols page opens.

  4. On the Protocols page, click the name of the protocol that you are editing.

    The Edit Protocol page opens.

  5. On the Edit Protocol page, click the File Cache tab.

    The File Cache page opens.

  6. Select the Status Enabled checkbox to enable the file cache.

    This option is selected by default.

  7. In the Max Age field, type 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.

  8. In the Max Cache Size field, type The maximum total size (in bytes) of the file cache on disk.

    The default value is 10485760.

  9. In the Max File Count field, type 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.

  10. Click Save.

    Tip - To return to the default settings, click the Load Defaults button, then click Save.


See Also

Copyright © 2005, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices




© 2015 - 2024 Weber Informatics LLC | Privacy Policy