craftcms / element-api

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

Cache false not working #168

Closed joomkit closed 2 years ago

joomkit commented 2 years ago

Description

setting cache false in element-api config appears to still return the say keys and settings for the endpoint (is only the data cached? Im expecting resourceKey to be cached/uncached too

Steps to reproduce

  1. Set 'cache' => false, 'endpoints' => [
  2. Load endpoint myurl/api/endpoint.json
  3. Change endpoint
  4. Same result is displayed

Additional info

joomkit commented 2 years ago

Closing as seems to work ok with changes to dev environment