Ghost/ghost
Fabien 'egg' O'Carroll 52a28c0059
Optimised queries made by get helper for posts (#19859)
ref ENG-747
ref https://linear.app/tryghost/issue/ENG-747

H'okay - so what we're trying to do here is make get helper queries more
cacheable. The way we're doing that is by modifying the filter used when
we're trying to remove a single post from the query.

The idea is that we can remove that restriction on the filter, increase
the number of posts fetched by 1 and then filter the fetched posts back
down, this means that the same query, but filtering different posts,
will be updated to make _exactly_ the same query, and so share a cache!

We've been purposefully restrictive in the types of filters we
manipulate, so that we only deal with the simplest cases and the code is
easier to understand.
2024-03-13 19:27:27 +00:00
..
adapter-cache-memory-ttl
adapter-cache-redis
adapter-manager
admin Settings keyboard shortcuts (#19836) 2024-03-13 08:46:22 +01:00
announcement-bar-settings
api-framework Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
api-version-compatibility-service
audience-feedback Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
bookshelf-repository
bootstrap-socket
collections Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
constants
core Optimised queries made by get helper for posts (#19859) 2024-03-13 19:27:27 +00:00
custom-theme-settings-service Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
data-generator Added re-enable of innodb redo log once DataImporter has run (#19678) 2024-02-08 16:02:01 +00:00
domain-events
donations Update dependency typescript to v5.4.2 2024-03-11 17:16:17 +01:00
dynamic-routing-events
email-addresses Update dependency typescript to v5.4.2 2024-03-11 17:16:17 +01:00
email-analytics-provider-mailgun
email-analytics-service
email-content-generator
email-events
email-service Added referral tracking to the powered-by-ghost newsletter badge (#19850) 2024-03-13 16:03:13 +01:00
email-suppression-list
express-dynamic-redirects
external-media-inliner
extract-api-key
ghost Update dependency ts-node to v10.9.2 2024-03-13 16:31:48 +01:00
html-to-plaintext
i18n Edited few phrases in Slovak (sk) translation to make it sound better (#19825) 2024-03-11 17:56:26 -04:00
importer-handler-content-files
importer-revue
in-memory-repository
job-manager Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
link-redirects
link-replacer 🐛 Fixed unexpected conversion of single-quoted attributes in HTML cards (#19727) 2024-03-06 09:11:49 +00:00
link-tracking Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
magic-link Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
mail-events Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
mailgun-client
member-attribution 🐛 Fixed unexpected conversion of single-quoted attributes in HTML cards (#19727) 2024-03-06 09:11:49 +00:00
member-events
members-api Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
members-csv 🐛 Fixed members import unsubscribing members when subscribe_to_emails is empty (#19658) 2024-02-06 10:19:16 -08:00
members-events-service Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
members-importer Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
members-ssr Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
mentions-email-report
milestones Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
minifier Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
model-to-domain-event-interceptor
mw-api-version-mismatch Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
mw-cache-control
mw-error-handler Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
mw-session-from-token Update dependency express to v4.18.3 2024-03-07 13:42:27 +01:00
mw-update-user-last-seen
mw-version-match Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
mw-vhost
nql-filter-expansions
oembed-service 🐛 Fixed HTTP 500 responses when oembed endpoint receives error 2024-03-12 12:31:44 +01:00
offers Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
package-json Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
payments Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
post-events
post-revisions
posts-service Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
recommendations 🐛 Fixed returning HTTP 500 response when recommendations check fails 2024-03-12 12:31:44 +01:00
referrers
security
session-service Update dependency express to v4.18.3 2024-03-07 13:42:27 +01:00
settings-path-manager Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
slack-notifications Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
staff-service
stats-service
stripe Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
tiers 🐛 Fixed Tiers API erroring when invalid filter passed (#19845) 2024-03-13 00:25:42 +07:00
update-check-service Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
verification-trigger Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
version-notifications-data-service
webmentions Updated @tryghost/errors dependency 2024-03-11 17:33:51 +01:00
tsconfig.json