<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>How do I configure the site cache?</title><link>https://community.telligent.com/community/11/w/user-documentation/67412/how-do-i-configure-the-site-cache</link><description /><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>How do I configure the site cache?</title><link>https://community.telligent.com/community/11/w/user-documentation/67412/how-do-i-configure-the-site-cache</link><pubDate>Tue, 19 Nov 2019 22:42:24 GMT</pubDate><guid isPermaLink="false">8d73264e-139a-4c30-90d1-06d98e6a382e</guid><dc:creator>Kevin Cunningham</dc:creator><comments>https://community.telligent.com/community/11/w/user-documentation/67412/how-do-i-configure-the-site-cache#comments</comments><description>Current Revision posted to User Documentation by Kevin Cunningham on 11/19/2019 22:42:24&lt;br /&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The Community platform uses in-memory caching to increase a site performance. At times you may need to monitor and adjust the size of the cache. It is recommend to periodically monitor the size of the cache to ensure settings are optimal.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;a id="Setting_the_Cache_Size" name="Setting_the_Cache_Size"&gt;&lt;/a&gt;&lt;span style="font-weight:400;"&gt;Setting the Cache Size&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The cache size can be set by going to &lt;strong&gt;Administration-&amp;gt;Site-&amp;gt;Cache&lt;/strong&gt;. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;&lt;img style="display:block;margin-left:auto;margin-right:auto;" alt=" " height="199" src="/resized-image/__size/960x720/__key/communityserver-wikis-components-files/00-00-00-12-80/pastedimage1574202001442v1.png" width="525" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;To set an optimal value for the cache size, you will need monitor your community during peak hours for an extended period of time. Follow the steps below to help determine a value for the cache size: &lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Start a short cache monitoring session to determine how much your site is currently using. If the values are close to the max on the web servers, you may consider adjusting.&amp;nbsp; &lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Take note of the average maximum size being used across the web nodes and set the cache size (&lt;strong&gt;Administration-&amp;gt;Site-&amp;gt;Cache&lt;/strong&gt;) to a value 2-3X the value from the previous step. This is to allow for growth and finding a new cache size value. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Start a new cache monitoring session (or continue the current if still monitoring) and monitor the cache for an extended period of time. &lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt; Take note of the average memory size during this monitoring period and increase it by 25%. This will be your new value.&lt;br /&gt;Note: If the values are close to the maximum again, restart the process with a cache value high enough to allow for growth during monitoring.&lt;/span&gt;&lt;span style="font-weight:400;"&gt;&lt;/span&gt;&lt;span style="font-weight:400;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;Set the new value&amp;nbsp; (&lt;strong&gt;Administration-&amp;gt;Site-&amp;gt;Cache&lt;/strong&gt;) and periodically monitor during peak periods to see if additional adjustments are necessary.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Things to consider:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;A cache that is highly utilized is a good thing and not always a signal it needs to be increased in size. The process (above) of evaluating the size over a period of time is to determine if the size needs to be increased.&lt;/li&gt;
&lt;li&gt;Content will continue to stay in the cache as long as its requested. If there is no request for an time for 30 minutes, it will be ejected.&lt;/li&gt;
&lt;li&gt;The size of the cache may go over the maximum for a period of time.&lt;/li&gt;
&lt;li&gt;Continually check these settings as your community continues to grow.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;&lt;a id="Monitoring_the_Cache" name="Monitoring_the_Cache"&gt;&lt;/a&gt;&lt;span style="font-weight:400;"&gt;Monitoring the Cache&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;You can monitor the cache by going to &lt;/span&gt;&lt;b&gt;Administration-&amp;gt;Monitoring-&amp;gt;Cache&lt;/b&gt;&lt;span style="font-weight:400;"&gt;. Start a monitoring session by clicking the start.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="display:block;margin-left:auto;margin-right:auto;" alt=" " height="344" src="/resized-image/__size/960x720/__key/communityserver-wikis-components-files/00-00-00-12-80/pastedimage1574198095363v1.png" width="705" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The monitoring session includes the following:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;&lt;strong&gt;Server List&lt;/strong&gt; - A list of all servers (web and job) running the community. Unchecking a server from this list removes the metrics from this server for all reports during the current session.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;&lt;strong&gt;Hits and Misses Chart&lt;/strong&gt; - Reports the number of hits and (green) and misses (red) per server as well as the total number of items cached. A server count can be individually removed by clicking the server name in the X-axis.&amp;nbsp; &lt;br /&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;&lt;strong&gt;Memory Usage Chart&lt;/strong&gt; - Reports the amount of memory (in MB) used by the cache per server. A server can be individually removed by clicking the server name in the X-axis.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-weight:400;"&gt;&lt;strong&gt;Top Hits&lt;/strong&gt; - Lists the top 50 cache hits and misses during the current session.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>