craftcms / element-api

Create a JSON API/Feed for your elements in Craft.
MIT License
498 stars 56 forks source link

Only cache response when statusCode is success #133

Closed vlradstake closed 3 years ago

vlradstake commented 4 years ago

Description

Don't cache error responses only success

Related issues

https://github.com/craftcms/element-api/issues/130

brandonkelly commented 3 years ago

Thanks! Just released Element API 2.7.0 with this change.