Replace hard coded value with variable value.
Remove debug statements.
Set cache time to null if no value or value less then zero.