Does PageCoreData.Load(PageReference) hits cache in EPiServer CMS 6 R2?

Vote:
 

Hi,

Does PageCoreData.Load(PageReference) hits cache first or gets page directly from DB without hitting cache?

EPiServer CMS 6 R2

thanks

#150254
Edited, Jun 15, 2016 8:04
Vote:
 

Hi,

what are you trying to accomplish? If you want to read pages in Epi I would suggest that you use DataFactory instead.

#150279
Jun 15, 2016 13:07
Vote:
 

Thanks Alf,

I want to get rid of 404 exceptions thrown by DataFactory GetPage().

http://stackoverflow.com/questions/1770908/episerver-how-to-check-whether-page-exists

Any sugesstion?

#150281
Jun 15, 2016 13:15
Vote:
 

One way (that also supports caching) is to use PermanentLinkMapStore.Find (replaced by IPermanentLinkMapper in newer versions)

#150318
Jun 16, 2016 8:10
Vote:
 
<p>thanks Johan!</p> <p></p>
#150332
Jun 16, 2016 11:44
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.