SharePoint publishing site returns HTTP status code 304 for cacheable items
This is in relation to an article posted on Maxime Bombardier's blog (http://blogs.msdn.com/maximeb/archive/2009/08/11/blobcache-style-library-and-anonymous-users.aspx).I have a Publishing Site Collection with anonymous access enabled. The web application has been extended to provide two interfaces to the site, one Windows authenticated and the other for forms/anonymous. When browsing to the anonymous interface, Fiddler reports that the server is returning 304 status codes for css, js and gif files despite me having the blob cache enabled, I've reset the permissions on the Style Library web folder to inherit from it's parent and I've flushed the blob cache (using the excellent solution at http://blobcachefarmflush.codeplex.com/) all as per Maxime's blog post.Am I missing a step here? Is it possible that Fiddler isn't reporting properly?
March 7th, 2010 2:28pm

Hi, We once had the 304 issue and making the masterpages, site collection images and style libraries inherit the parent site permissions solved it. With regards to the Blobcache, I'm always struggling with some weird issues like some images absent from a WFE and present on others. I even developed an Stsadm command to flush the blobcache on all the farm's servers, but still have that kind of issues. The only efficient workaround I found till now, is to flush the Blobcache manually on the servers : - Desable temporarily the blobcache in web application : in the web app web.config set the <blobcache ... enable="False"> - Delete manually the blobcache files, ex. d:\blobcache\{The web app IIS site ID} - Re-enable the blobcache in web application : in the web app web.config set the <blobcache ... enable="True"> In my situation I take the server off-line before performing these actions. As you know, changing the web.config will recycle the application pool. Hope this helps you. Regards, Djamel Chagour http://spbyexamples.blogspot.com/ http://mosslogviewer.codeplex.com/
Free Windows Admin Tool Kit Click here and download it now
March 8th, 2010 5:53am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics