TS-2357: Add option to cache POST requests