allow perform_caching for non rails framework