checking template modify time after calling compiled template, and clear compiled cache if needed.