Fix cache non-GET request handling.
Merge branch 'fix-cache' into develop