Moved cache time interval to constant defined at top of module.