David McLean
David McLean

Reputation: 1497

Does Sitecore.Context.Item make use of HttpContext?

Does Sitecore make use of the HttpContext to save needless calls to the DB?

Specifically for the context item and database?

Thanks

Upvotes: 1

Views: 1889

Answers (1)

Sean Kearney
Sean Kearney

Reputation: 4008

Yes. Take a look at Sitecore.Caching.ItemsContext. It uses HttpContext.Current.Items to save the context Item. The context database is in there as well.

Upvotes: 5

Related Questions