Ghost/ghost
Naz 3ddfe59e15
Added resource caching to Posts/Pages Content API
refs https://github.com/TryGhost/Toolbox/issues/522

- Browse endpoints for Posts and Pages are creating the most database traffic in the system. These are read-only endpoints that don't have to be fresh 100% of the time. Having optional cache allows to offload some of the database querying to more efficient storage.
- To enable cache for Posts/Pages browse endpoints there are two prerequisites:
  - set 'hostSettings:postsPublicCache:enabled' to 'true' in the configuration file
  - add 'postsPublic' cache adapter in cache configuration

- Example config for adapters with 60s TTL for a cached resource:
```
    "adapters": {
        "cache": {
            "postsPublic": {
                "adapter": "Redis",
                "ttl": 60,
                "keyPrefix": "site_id_here:posts-content-api:"
            }
        }
    },
```
2023-02-17 17:27:51 +08:00
..
adapter-cache-redis Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
adapter-manager Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
admin Added outbound link tagging for web posts (#16201) 2023-02-16 11:26:35 +01:00
api-framework Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
api-version-compatibility-service Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
audience-feedback Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
bootstrap-socket Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
constants Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
core Added resource caching to Posts/Pages Content API 2023-02-17 17:27:51 +08:00
custom-theme-settings-service Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
data-generator Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
domain-events Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
dynamic-routing-events Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
email-analytics-provider-mailgun Update dependency mocha to v10.2.0 2022-12-12 13:20:22 +00:00
email-analytics-service 🐛 Fixed storing email failures with an empty message (#16260) 2023-02-13 15:25:36 +01:00
email-content-generator Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
email-events Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
email-service Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
email-suppression-list Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
express-dynamic-redirects Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
extract-api-key Fixed full Admin test suite running during unit tests 2022-08-15 15:34:52 +02:00
html-to-plaintext Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
i18n Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
importer-revue Updated Koenig packages 2023-01-04 11:27:39 +01:00
job-manager Added one-off job name and current queue length into log line 2023-02-17 09:16:40 +01:00
link-redirects Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
link-replacer Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
link-tracking Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
magic-link Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
mailgun-client Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
member-attribution Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
member-events Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
members-api Update dependency node-jose to v2.2.0 [SECURITY] 2023-02-17 05:29:46 +00:00
members-csv Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
members-events-service Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
members-importer Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
members-ssr Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
milestones Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
minifier Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
mw-api-version-mismatch Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
mw-cache-control Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
mw-error-handler Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
mw-session-from-token Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
mw-update-user-last-seen Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
mw-vhost Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
oembed-service Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
offers Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
package-json Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
payments Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
portal Improved micro copy on Portal email tips 2023-02-15 12:30:03 -04:00
public-resource-repository Refactored tags repository to be model-agnostic 2023-02-17 17:27:51 +08:00
referrers Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
security Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
session-service Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
settings-path-manager Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
staff-service 🐛 Fixed subscriptions visible as "Active" within Ghost Admin (#16255) 2023-02-13 13:07:53 +01:00
stats-service Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
stripe Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
tiers Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
update-check-service Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
verification-trigger Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
version-notifications-data-service Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00
webmentions Update dependency c8 to v7.13.0 2023-02-16 22:15:50 +00:00