I’ve got an application that downloads data from a 3rd party at 3am every morning
Nothing changes in terms of content until then…
is it possible to cache the “product info” page until then?
or is this something i should set in global.asax?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes you can cache it until then. There are many ways of doing this.
If you have a serverside call to retrieve the data then I would simply add this data to the cache when you first get it and set the expiration to be 3am the following day. Then on each page call check the cache for this data object and if it returns null, initiate another fetch of the data.
You can use page output cacheing too but this does not give you such detailed control.
something like this: