Are there any performance enhancements by setting EnableTheming to false?
I have a site that will not use theming. But by default the value is set to true. Does ASP.NET do a check everytime to开发者_高级运维 see if I'm using themes. Is there a performance hit?
Thanks! paul
I don't know the answer to the question, but it could most likely be determined by using Reflector on the Microsoft assemblies surrounding this area. Just a thought, if you are truly curious.
Even if there is, it would not be very heavy, perhaps a microsecond or two per hit. Unless you are developing a Google scale site, I would not be worried about. And, set on the control level, it is a hit you will take whether you set to true or false, so there is no escape.
精彩评论