So basically if current time is more than nextrun I need to retrieve the xml from the external server and cache it. Otherwise I should just use the cached file.
Could this be done without too much work (kind of volunteer project)?
Couldn't you just make this a scheduled task to run on a set schedule by using Umbraco scheduler or Windows task scheduler? Would save you some work. Or is this a JIT action, meaning an end user hits a page and at that point it runs the logic?
Caching xml based on value
I need to make a caching mechanism based on a timestamp in the xml file to be cached.
Timestamp is saved like this:
So basically if current time is more than nextrun I need to retrieve the xml from the external server and cache it. Otherwise I should just use the cached file.
Could this be done without too much work (kind of volunteer project)?
Couldn't you just make this a scheduled task to run on a set schedule by using Umbraco scheduler or Windows task scheduler? Would save you some work. Or is this a JIT action, meaning an end user hits a page and at that point it runs the logic?
-Chris
is working on a reply...