Ghost/ghost
Naz 3cfe6d2cbb
Added cache support to api-framework
refs https://github.com/TryGhost/Toolbox/issues/522

- API-level response caching allows to cache responses bypassing the "pipeline" processing
- The main usecase for these caches is caching GET requests for expensive Content API requests
- To enable response caching add a "cache" key with a cache instance as a value, for example for posts public cache configuration can look like:
```
module.exports = {
    docName: 'posts',

    browse: {
        cache: postsPublicService.api.cache,
        options: [ ...
```
2023-02-23 13:07:04 +08:00
..
adapter-cache-memory-ttl Commented out flaky adapter-cache-memory-ttl tests 2023-02-22 17:24:26 +01:00
adapter-cache-redis
adapter-manager Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
admin Wired up lexical editor focus when clicking below editor canvas 2023-02-22 15:26:31 +00:00
api-framework Added cache support to api-framework 2023-02-23 13:07:04 +08:00
api-version-compatibility-service
audience-feedback Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
bootstrap-socket
constants
core Fixed random timeouts in milestone service e2e test 2023-02-22 20:26:53 +02:00
custom-theme-settings-service Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
data-generator
domain-events
dynamic-routing-events
email-analytics-provider-mailgun
email-analytics-service
email-content-generator
email-events
email-service Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
email-suppression-list
express-dynamic-redirects
extract-api-key
html-to-plaintext
i18n
importer-revue
job-manager Improved webmention receiving E2E test reliability 2023-02-22 16:19:56 +01:00
link-redirects
link-replacer
link-tracking Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
magic-link Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
mailgun-client
member-attribution
member-events
members-api Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
members-csv
members-events-service Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
members-importer Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
members-ssr Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
milestones Added BookshelfMilestoneRepository implementation (#16305) 2023-02-22 15:53:29 +02:00
minifier Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
mw-api-version-mismatch Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
mw-cache-control
mw-error-handler Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
mw-session-from-token
mw-update-user-last-seen
mw-vhost
oembed-service Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
offers Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
package-json Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
payments Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
portal
public-resource-repository
referrers
security
session-service Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
settings-path-manager Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
slack-notifications Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
staff-service Updated new mention email template design 2023-02-22 15:11:29 +00:00
stats-service
stripe Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
tiers Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
update-check-service Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
verification-trigger Updated @tryghost/errors dependency 2023-02-22 11:32:11 +01:00
version-notifications-data-service
webmentions Fixed webmentions unit test coverage 2023-02-22 16:36:11 +01:00