Setup http caching for script controller