Last post Feb 27, 2011 08:25 AM by far41
Feb 25, 2011 07:12 AM|far41|LINK
I need some recommandations about the best way to cache some data.
We read remote XML files with xmldatasource (displayed in a repeater), and filter them, but some files are quite big and we need to use caching.
Caching the page is working fine but since we are filtering with XPATH it requires to reload and cache for each page.
So it looks like it is better not to cache the page but to cache the XMLDATASOURCE, so that this cache can be used for the different filters in different pages.
Is it the best approach ?
But what do we do when the cache expires ? Let say the remote XML file is 30MB. The first user arriving after the cache expiration will have to way too long, and it won't work. So should we actually copy the remote file locally to read it faster ?
Thank you very much for your help,
Feb 27, 2011 08:25 AM|far41|LINK