WYSIWYG

http://kufli.blogspot.com
http://github.com/karthik20522

Sunday, June 14, 2009

Bot/Crawler/Spider Check Current.Request ASP.NET

While implementing a Caching Solution (LRU caching) for a project that I was working on, I realized that search engine crawlers were flooding the IIS cache which led to "out of memory exception". So for this I had to make sure that if the current request was from a Crawler then do not add to the Cache. So following is a simple implementation of WebCrawler check in C#



USAGE:

Labels: ,