SplotchCache, you blob of helpfulness and pains

SplotchCache, you blob of helpfulness and pains


SplotchCache, you blob of helpfulness and pains


by Adriaan Steyn  GeneralSharePoint


Issue

Recently had a request from a developer that style sheets are not updating for 1 WebApp, but updating on the other, both on the same farm and same WFE.

 

After playing around with permissions and SPD, still no result, then it dawned on me, BLobCache is enabled for the WebApp….. after editing the actual blob CSS file the changes reflected, however not when editing via SPD.


Resolution

Although I still don't know what was the cause of the issue here is the resolution.

Disable BlobCache in the web.config by changing the enabled parameter to false

<BlobCache location="C:\BlobCache\14" path="\.(gif|jpg|jpeg|jpe|jfif|bmp|dib|tif|tiff|themedbmp|themedcss|themedgif|themedjpg|themedpng|ico|png|wdp|hdp|css|js|asf|avi|flv|m4v|mov|mp3|mp4|mpeg|mpg|rm|rmvb|wma|wmv|ogg|ogv|oga|webm|xap)$" maxSize="10" enabled="false" />

Go to the blobcache location and delete the correlating IIS Web ID folder.

Enable blobcache again as below.

<BlobCache location="C:\BlobCache\14" path="\.(gif|jpg|jpeg|jpe|jfif|bmp|dib|tif|tiff|themedbmp|themedcss|themedgif|themedjpg|themedpng|ico|png|wdp|hdp|css|js|asf|avi|flv|m4v|mov|mp3|mp4|mpeg|mpg|rm|rmvb|wma|wmv|ogg|ogv|oga|webm|xap)$" maxSize="10" enabled="true" />

The folder structure will be  recreated and your image rendition AND your SPD changes will reflect correctly again.

 

Happy blobing



  |