Allowed caching only for GET requests. This was causing issues when the
GET and POST endpoints where the same and request would be handled
separately based on Method type.