Auto-updating Cache Help[DELTA][bluurs]
I'm trying to give my webclient an auto-updating cache. There are methods to check cache versions already, but I have no idea where I should put the if statement to see if the cache needs to be updated. This is the code:
Code:
if(newest > this.getCurrentVersion()){
This is just saying, if the cache version is older then the current version, it continues.
If someone could tell me where exactly, what method, or at the very least, what class it needs to be in, I would be extremely grateful.