free geoip CS Tidbits #14: Adjust Your Cache Factor - Jayson's Blog - jaysonKnight.com
jaysonKnight.com
Welcome to my corner of the internet
CS Tidbits #14: Adjust Your Cache Factor
Today’s tidbit is probably one of the most active topics over on the Community Server forums:  “I post content on my CS installation but it takes 10 minutes or more to show up…how do I get it to show up immediately?”  One of the great features of asp.net is that you can cache data on the web server to avoid making costly trips to your database server, and CS aggressively uses caching to improve performance.  The caveat of this is that end users won’t have the most up to date data on your site.  The setting for this isn’t the most intuitive thing to find as it’s not configurable via the CS Control Panel, it’s located in your communityserver.config file in the <cacheFactor> element.  The default setting is 5; if you change this to 0 caching will basically be turned off and new content will be posted immediately.  Of course this will impact overall performance of your site as every request to your CS site will incur multiple database hits, so be sure to test everything out first.  For small sites, making this change shouldn’t affect performance too much, but for large sites that have a lot of traffic it isn’t recommended to lower the cacheFactor value unless your users absolutely need the most up to date content every time they visit.
Posted Fri, Jun 9 2006 4:55 PM by Jayson Knight
Filed under:

Comments

Jaxon Rice wrote re: CS Tidbits #14: Adjust Your Cache Factor
on Fri, Jun 9 2006 3:29 PM
Another great tip man.
Community Server Daily News wrote Community Server Daily News for Monday, June 12, 2006
on Mon, Jun 12 2006 1:40 PM
The Community Server Birds of a Feather Session at TechEd is tomorrow! Scott Watermasysk, Ben Tiedt and
Community Server Bits wrote Jayson Knight posts CS Tidbit #14
on Mon, Mar 12 2007 10:12 AM

Jayson Knight posts CS Tidbit #14 , explaining how and when you may wish to adjust your CS cache settings

Add a Comment

(optional)  
(optional)
(required)  
Remember Me?

Copyright © :: JaysonKnight.com
External Content © :: Respective Authors

Terms of Service/Privacy Policy