<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Manually Clearing the MOSS 2007 BLOB Cache</title>
	<atom:link href="http://sharepointinterface.com/2009/10/30/manually-clearing-the-moss-2007-blob-cache/feed/" rel="self" type="application/rss+xml" />
	<link>http://sharepointinterface.com/2009/10/30/manually-clearing-the-moss-2007-blob-cache/</link>
	<description>Multidisciplinary discourse on the topics of SharePoint architecture, development, and administration.</description>
	<lastBuildDate>Wed, 09 May 2012 18:27:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Sean McDonough</title>
		<link>http://sharepointinterface.com/2009/10/30/manually-clearing-the-moss-2007-blob-cache/#comment-333</link>
		<dc:creator><![CDATA[Sean McDonough]]></dc:creator>
		<pubDate>Wed, 26 Jan 2011 14:17:40 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointinterface.wordpress.com/?p=268#comment-333</guid>
		<description><![CDATA[Greg,

If you&#039;re in a situation where you can shut down the app pool or W3CSVC servicing each of your WFEs, clear out the file system, and then restart the app pool or service, you should be fine.  If you have multiple WFEs, each one can be cleared in this fashion one at a time; there are no depedencies between BLOB caches on WFEs.

If your environment can&#039;t tolerate any downtime, I would strongly suggest checking out the farm-level BLOB cache flushing solution I put together (http://blobcachefarmflush.codeplex.com).  I created it specifically to deal with high traffic, can&#039;t-be-brought-down environments where the cache occasionally needed a flush due to unusual corruption situations.  If you install that solution, you&#039;ll be able to safely flush the BLOB cache for the Web application housing your site collection.  The solution is really easy to use, and the flush will take place across all WFEs and extended zones.

The problem with the built-in flush mechanism (exposed through the site collection administration settings) is that the flush only happens for the server that receives the postback, and the flush only occurs for the zone (IIS site) you are working through.  If you have a Web application that has been extended to more than one zone and/or more than one WFE, it&#039;s difficult to get the built-in flushing mechanism to work for you.

If you want a bit more background on what&#039;s happening with the flush, check out another post of mine: http://sharepointinterface.com/2009/06/18/we-drift-deeper-into-the-sound-as-the-flush-comes/

Good luck!]]></description>
		<content:encoded><![CDATA[<p>Greg,</p>
<p>If you&#8217;re in a situation where you can shut down the app pool or W3CSVC servicing each of your WFEs, clear out the file system, and then restart the app pool or service, you should be fine.  If you have multiple WFEs, each one can be cleared in this fashion one at a time; there are no depedencies between BLOB caches on WFEs.</p>
<p>If your environment can&#8217;t tolerate any downtime, I would strongly suggest checking out the farm-level BLOB cache flushing solution I put together (<a href="http://blobcachefarmflush.codeplex.com" rel="nofollow">http://blobcachefarmflush.codeplex.com</a>).  I created it specifically to deal with high traffic, can&#8217;t-be-brought-down environments where the cache occasionally needed a flush due to unusual corruption situations.  If you install that solution, you&#8217;ll be able to safely flush the BLOB cache for the Web application housing your site collection.  The solution is really easy to use, and the flush will take place across all WFEs and extended zones.</p>
<p>The problem with the built-in flush mechanism (exposed through the site collection administration settings) is that the flush only happens for the server that receives the postback, and the flush only occurs for the zone (IIS site) you are working through.  If you have a Web application that has been extended to more than one zone and/or more than one WFE, it&#8217;s difficult to get the built-in flushing mechanism to work for you.</p>
<p>If you want a bit more background on what&#8217;s happening with the flush, check out another post of mine: <a href="http://sharepointinterface.com/2009/06/18/we-drift-deeper-into-the-sound-as-the-flush-comes/" rel="nofollow">http://sharepointinterface.com/2009/06/18/we-drift-deeper-into-the-sound-as-the-flush-comes/</a></p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg Robinson</title>
		<link>http://sharepointinterface.com/2009/10/30/manually-clearing-the-moss-2007-blob-cache/#comment-332</link>
		<dc:creator><![CDATA[Greg Robinson]]></dc:creator>
		<pubDate>Wed, 26 Jan 2011 13:53:09 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointinterface.wordpress.com/?p=268#comment-332</guid>
		<description><![CDATA[This article saved my  a$$!  I accidentally tried to delete the blob cache (having decided not to research before I did) by clearing the file system folder.  With blob caching still turned on, all images on my site were broken.  I tried resetting the disk cache in the site collection setting but that did not work either.  So I took the easy way out and just changed the location of the blob cache to a different directory.

So, having cleared the file system incorrectly and clearing the disk cache not working, what would you recommend as a solution to get this working?]]></description>
		<content:encoded><![CDATA[<p>This article saved my  a$$!  I accidentally tried to delete the blob cache (having decided not to research before I did) by clearing the file system folder.  With blob caching still turned on, all images on my site were broken.  I tried resetting the disk cache in the site collection setting but that did not work either.  So I took the easy way out and just changed the location of the blob cache to a different directory.</p>
<p>So, having cleared the file system incorrectly and clearing the disk cache not working, what would you recommend as a solution to get this working?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean McDonough</title>
		<link>http://sharepointinterface.com/2009/10/30/manually-clearing-the-moss-2007-blob-cache/#comment-327</link>
		<dc:creator><![CDATA[Sean McDonough]]></dc:creator>
		<pubDate>Mon, 27 Dec 2010 15:04:44 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointinterface.wordpress.com/?p=268#comment-327</guid>
		<description><![CDATA[Changing the location of the BLOB cache in the web.config is certainly a viable approach, Fred.  ASP.NET does maintain a file system watcher on web.config files, so changing the web.config will force a recycle of the AppDomain for the zone of the Web application associated with the web.config.  You could then go in after the fact and clean-up the old BLOB cache directory in the file system.

Whether or not this is &quot;better&quot; sort of depends on your situation.  If you switch the BLOB cache to a completely new directory, it means that every cacheable asset is going to have to be re-fetched from the content databases housing them to populate the new BLOB cache.  If you aren&#039;t caching a lot of content on the WFEs, then this probably isn&#039;t a big deal.

If you&#039;ve got gigabytes of data that are being BLOB cached, though, re-fetching all of that content is going to put a strain (albeit a brief one) on your infrastructure.  In this scenario, a targeted clean-up of a single Web application zone in the existing BLOB cache will be less invasive -- assuming you have more than just the target Web application zone&#039;s content in your BLOB cache, of course.

You&#039;re absolutely right, though, in that there is more than one way to skin this cat; the approach I presented is not the only way.  More than anything, I simply wanted to share the possible adverse side effects of clearing the file system without taking precautions.

Thanks for the feedback!]]></description>
		<content:encoded><![CDATA[<p>Changing the location of the BLOB cache in the web.config is certainly a viable approach, Fred.  ASP.NET does maintain a file system watcher on web.config files, so changing the web.config will force a recycle of the AppDomain for the zone of the Web application associated with the web.config.  You could then go in after the fact and clean-up the old BLOB cache directory in the file system.</p>
<p>Whether or not this is &#8220;better&#8221; sort of depends on your situation.  If you switch the BLOB cache to a completely new directory, it means that every cacheable asset is going to have to be re-fetched from the content databases housing them to populate the new BLOB cache.  If you aren&#8217;t caching a lot of content on the WFEs, then this probably isn&#8217;t a big deal.</p>
<p>If you&#8217;ve got gigabytes of data that are being BLOB cached, though, re-fetching all of that content is going to put a strain (albeit a brief one) on your infrastructure.  In this scenario, a targeted clean-up of a single Web application zone in the existing BLOB cache will be less invasive &#8212; assuming you have more than just the target Web application zone&#8217;s content in your BLOB cache, of course.</p>
<p>You&#8217;re absolutely right, though, in that there is more than one way to skin this cat; the approach I presented is not the only way.  More than anything, I simply wanted to share the possible adverse side effects of clearing the file system without taking precautions.</p>
<p>Thanks for the feedback!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fred</title>
		<link>http://sharepointinterface.com/2009/10/30/manually-clearing-the-moss-2007-blob-cache/#comment-326</link>
		<dc:creator><![CDATA[Fred]]></dc:creator>
		<pubDate>Mon, 27 Dec 2010 10:46:21 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointinterface.wordpress.com/?p=268#comment-326</guid>
		<description><![CDATA[Wouldn&#039;t it be better to simply change the blob cache location in the web config?]]></description>
		<content:encoded><![CDATA[<p>Wouldn&#8217;t it be better to simply change the blob cache location in the web config?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean McDonough</title>
		<link>http://sharepointinterface.com/2009/10/30/manually-clearing-the-moss-2007-blob-cache/#comment-189</link>
		<dc:creator><![CDATA[Sean McDonough]]></dc:creator>
		<pubDate>Thu, 27 May 2010 04:01:02 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointinterface.wordpress.com/?p=268#comment-189</guid>
		<description><![CDATA[Yash,

If a refresh of the page or clearing the client-side cache of images fixes the issue you&#039;re encountering, then chances are that there is no server-side fix that is going to address the behavior you&#039;re seeing.  If the MOSS BLOB cache is involved (something you&#039;ll have to verify), then I&#039;m guessing that the web.config entry for the  element on the web application in question specifies a max-age attribute value.

When the max-age attribute is specified, images and other BLOB resources that are served up to clients are passed back to the browser with client cacheability headers.  In essence, the client will hold onto such images and resources until the amount of time specified by the max-age attribute has elapsed.  Only after that amount of time has elapsed will the browser once again begin requesting the images or resources from the WFE.  This is why a client-side solution, such as forcing a re-fetch or clearing the browser cache, is the only one that will actually get the browser to re-request the objects in question.

It&#039;s been a couple of days since you submitted your comment.  It&#039;s common for the max-age attribute to be set to something like 12 hours.  Your situation may even be fixed by now.  If it&#039;s not, and the max-age attribute is causing client-side caching, you should be able to use the value of the attribute to determine when things will clear up for you.  The max-age attribute specifies a client-side caching duration in seconds, so divide the value by 3600 to determine how many hours objects will remain cached on client browsers.

Again, my hypothesis is entirely dependent on BLOB caching being enabled and a max-age attribute being set.  If either of these aren&#039;t in-play, then what I&#039;m proposing isn&#039;t what&#039;s happening.

Good luck!]]></description>
		<content:encoded><![CDATA[<p>Yash,</p>
<p>If a refresh of the page or clearing the client-side cache of images fixes the issue you&#8217;re encountering, then chances are that there is no server-side fix that is going to address the behavior you&#8217;re seeing.  If the MOSS BLOB cache is involved (something you&#8217;ll have to verify), then I&#8217;m guessing that the web.config entry for the  element on the web application in question specifies a max-age attribute value.</p>
<p>When the max-age attribute is specified, images and other BLOB resources that are served up to clients are passed back to the browser with client cacheability headers.  In essence, the client will hold onto such images and resources until the amount of time specified by the max-age attribute has elapsed.  Only after that amount of time has elapsed will the browser once again begin requesting the images or resources from the WFE.  This is why a client-side solution, such as forcing a re-fetch or clearing the browser cache, is the only one that will actually get the browser to re-request the objects in question.</p>
<p>It&#8217;s been a couple of days since you submitted your comment.  It&#8217;s common for the max-age attribute to be set to something like 12 hours.  Your situation may even be fixed by now.  If it&#8217;s not, and the max-age attribute is causing client-side caching, you should be able to use the value of the attribute to determine when things will clear up for you.  The max-age attribute specifies a client-side caching duration in seconds, so divide the value by 3600 to determine how many hours objects will remain cached on client browsers.</p>
<p>Again, my hypothesis is entirely dependent on BLOB caching being enabled and a max-age attribute being set.  If either of these aren&#8217;t in-play, then what I&#8217;m proposing isn&#8217;t what&#8217;s happening.</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yash Dogra</title>
		<link>http://sharepointinterface.com/2009/10/30/manually-clearing-the-moss-2007-blob-cache/#comment-187</link>
		<dc:creator><![CDATA[Yash Dogra]]></dc:creator>
		<pubDate>Mon, 24 May 2010 14:32:36 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointinterface.wordpress.com/?p=268#comment-187</guid>
		<description><![CDATA[Hello,

After installing Service pack2, the images in people search results are appearing to be elongated and when we refresh or if we clear cache in browser only then it becomes normal.. may i kno the reason and solution as we cant remove cache on each users machine if users are n numbers..
Please help..]]></description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>After installing Service pack2, the images in people search results are appearing to be elongated and when we refresh or if we clear cache in browser only then it becomes normal.. may i kno the reason and solution as we cant remove cache on each users machine if users are n numbers..<br />
Please help..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SharePoint is not designed for performance - Rien de spécial</title>
		<link>http://sharepointinterface.com/2009/10/30/manually-clearing-the-moss-2007-blob-cache/#comment-127</link>
		<dc:creator><![CDATA[SharePoint is not designed for performance - Rien de spécial]]></dc:creator>
		<pubDate>Sun, 13 Dec 2009 12:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointinterface.wordpress.com/?p=268#comment-127</guid>
		<description><![CDATA[[...] Static content does not come with a far-future expiration date, hence the browser cache policy is inefficient. This can be changed with blob caching, known to be the source of 404 errors. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] Static content does not come with a far-future expiration date, hence the browser cache policy is inefficient. This can be changed with blob caching, known to be the source of 404 errors. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Links (11/1/2009) &#171; Steve Pietrek &#8211; Everything SharePoint</title>
		<link>http://sharepointinterface.com/2009/10/30/manually-clearing-the-moss-2007-blob-cache/#comment-118</link>
		<dc:creator><![CDATA[Links (11/1/2009) &#171; Steve Pietrek &#8211; Everything SharePoint]]></dc:creator>
		<pubDate>Mon, 02 Nov 2009 00:34:09 +0000</pubDate>
		<guid isPermaLink="false">http://sharepointinterface.wordpress.com/?p=268#comment-118</guid>
		<description><![CDATA[[...] **** Manually Clearing the MOSS 2007 BLOB Cache [...]]]></description>
		<content:encoded><![CDATA[<p>[...] **** Manually Clearing the MOSS 2007 BLOB Cache [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

