Ghost/ghost/core/test
Fabien 'egg' O'Carroll 6a35f6e4cc
Fixed get helper cache optimizations (#19865)
ref [ENG-747](https://linear.app/tryghost/issue/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-15 00:18:15 +07:00
..
e2e-api 🐛 Fixed adding recommendation when oembed fails (#19861) 2024-03-14 11:36:28 +01:00
e2e-browser Fixed browser tests (#19852) 2024-03-13 12:54:19 +01:00
e2e-frontend Fixed get helper cache optimizations (#19865) 2024-03-15 00:18:15 +07:00
e2e-server Added cache-control header back to /auth-frame/ response (#19858) 2024-03-13 16:00:46 +00:00
e2e-webhooks Cleaned up lexicalEditor labs flag, switched Post model to lexical-by-default (#18607) 2023-10-23 17:51:34 +01:00
integration Added referral tracking to the powered-by-ghost newsletter badge (#19850) 2024-03-13 16:03:13 +01:00
regression Improved sending email addresses for self-hosters (#19617) 2024-01-30 11:21:08 +01:00
unit Fixed get helper cache optimizations (#19865) 2024-03-15 00:18:15 +07:00
utils 🎨 Reduced requests and 403 responses for comments auth check (#19840) 2024-03-12 12:27:18 +00:00
.eslintignore Added Source as the new default theme 2023-10-03 14:02:08 +02:00
.eslintrc.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00