added proxy caching and allowed http methods