Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
int ordinaryPageTypeID = PageType.Load(new Guid(ConfigurationManager.AppSettings["OrdinaryPageTypeGUID"])).ID;
Is there any problems with doing this? Is the PageType.Load method cached or does this cause a database call for every comparison? I'm interested to hear if there are any other nice solutions to this problem. Thanks, Christoffer