Flex Cache Configuration Options
Ramon Gavira Sáenz via opencms-dev <[email protected]>
| Newsgroups | gmane.comp.cms.opencms.devel |
|---|---|
| Message-ID | <AS8PR05MB850296EB1B6F50A18CC958E0E20F9@AS8PR05MB8502.eurprd05.prod.outlook.com> |
I have check thin documentation page: https://documentation.opencms.org/opencms-documentation/template-development/caching-in-opencms/the-flex-cache/index.html,
But, Can anyone explain a little deeper what are this configs params for?
maxcachebytes
The maximum amount of server memory used by the Flex cache in bytes. The amount of available server memory is the critical factor here and has to be considered carefully.
avgcachebytes
The average amount of server memory used by the Flex cache in bytes.
maxentrybytes
The maximum size of a single cache entry in bytes.
maxkeys
The maximum number of cached page variations in the Flex cache.
The default config is:
<flexcache>
<cache-enabled>true</cache-enabled>
<cache-offline>false</cache-offline>
<maxcachebytes>8000000</maxcachebytes>
<avgcachebytes>6000000</avgcachebytes>
<maxentrybytes>400000</maxentrybytes>
<maxkeys>2000</maxkeys>
</flexcache>
And Documentation explain that thats means the following:
The default settings of the Flex cache parameters after installing OpenCms are:
1. The Flex cache is enabled
2. The cache for offline projects is disabled
3. The Flex cache uses 8mb memory for the cached pages or a maximum of 2000 cached page variations in total.
Point 1 and 2 are ok, but what about 3? What is exactly a cached page? What is avgcachebytes means in config? And maxentrybytes?
Thanks in advance!
_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
https://lists.opencms.org/mailman/listinfo/opencms-dev