Checking cache/taskque flag before actually doing any caching/queueing algorithms