CiviMRF / CMRF_Abstract_Core

Abstract implementation for the the CMRF Core. Should be included into the concrete module implementation
GNU Affero General Public License v3.0
1 stars 4 forks source link

Failed API calls are cached #24

Closed agileware-iris closed 4 months ago

agileware-iris commented 4 months ago

API errors are currently all set to STATUS_FAILED and cached. Some errors should ideally never be cached (e.g. 500 errors).

If it's not possible to differentiate between types of errors to support this, is there any reason why we can't just prevent caching of all failed calls?

Agileware ref GFCV-82

agileware-iris commented 4 months ago

We've just accepted the current situation and have worked around it by setting a really short cache for certain API calls.