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

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

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -

asp.net - call stack missing info on mono with apache and mod_mono -