added cached life time for test and live sites