October 26
Flushing out the cache in SharePoint
SharePoint under the covers can do a lot of caching to optimize the rendering and loading time of pages. Using preferences in SharePoint, you can optimize this using several properties, including the size of the object cache, when to check the server for changes in the cache, and what to cache.
One item SharePoint often seems to cache is the style sheets (which is quite useful) except when you want update or change them. This can prove quite annoying as your changes to the style sheet don't seem to be reflected immediately on the site, leaving you questioning whether you have not updated them correctly.
To get around such a problem, there is the facility in SharePoint to easily reset (flush) the cache using the Object Cache Settings page.
- Go to top level site settings on your Portal
- Select Site Collection Administration -> Site Collection Object Cache
- Check 'Force all servers in the farm to flush their object caches' under object cache reset
- Select ok to reset the cache
As soon as you do this, you will find the cache is reset, and all the latest changes will now be reflected on your SharePoint site!