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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -