asp.net - Google Sitemap HttpHandler cacheing -


i have httphandler generates google sitemap based on asp.net web.sitemap. standard stuff. except heavy database work auto-generate additional urls ajax tabs within pages.

all means our db gets hit heavily if bot hits sitemap.axd.

what need, of course, output caching. how go caching inside writes directly xmltextwriter?

the simplest answer write xml string , store in static field.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -