I want to cache a POST request for 5 minutes. My POST request entry looks like
toolbox.router.post(/myPostApi/, toolbox.cacheFirst, {
cache: {
name: 'myCache',
maxAgeSeconds: 300
}
});
This is not getting cached. The entries for GET requests in exact similar syntax are working fine. Am I missing something?