Ok, so over on UGN we use some caching mechanism that I pieced together some time ago… This code it would seem croaks with caching my RSS feeds for sitemaps (pushed out namely for google)…
Well I go to add a new sitemap for the new staff system (user profiles) and what do I see, some of my sitemaps croaking at me!
So while sitting here pondering how to fix the issue I think of something I wanted to add back when I originally wrote the code; a method of disabling them based on what a user was requesting; so I figured that I may as well just add a simple if/else to bypass the cache (by triggering the rebuild option) for specific requests.
Fix ended up dead easy, though pushing it out to all the systems took a little time :P…
Design by Simon Fletcher. Powered by Tumblr.
© Copyright 2010