Ghost/ghost/core/test
Steve Larson 2e593ebcee
Improved performance fetching posts (#20460)
ref https://linear.app/tryghost/issue/ONC-111
- added composite index to posts_tags for post_id,tag_id for faster
lookup
- added composite index to posts for updated_at; this is commonly used
by get helpers on the front end to display data like the latest posts

In testing, this provided a very dramatic improvement for simple get
helper requests like 'filter="id:-{{post.id}}+tag:sampleTag" limit="3"'
which are by default sorted by updated_at desc. I'm not entirely clear
why when sorting by published_at we do not need a composite index - so
far it doesn't seem to be necessary. This should cover the primary cases
for get helpers - the latest posts with a given tag or set of tags.
2024-06-26 16:29:02 -05:00
..
e2e-api Moved internal linking feature out of beta 2024-06-20 17:50:11 +01:00
e2e-browser 🐛 Fixed admin error when deleting an unsaved or imported post (#20053) 2024-04-18 10:02:02 -07:00
e2e-frontend Fixed offer not found case during Stripe checkout (#20322) 2024-06-04 10:27:45 +00:00
e2e-server Fixed race condition when updating member's last_seen_at timestamp (#20389) 2024-06-18 20:03:32 -07:00
e2e-webhooks
integration Refined newsletter typography (#20406) 2024-06-19 11:57:29 +02:00
regression
unit Improved performance fetching posts (#20460) 2024-06-26 16:29:02 -05:00
utils Fixed handling SVG files with missing tag 2024-06-18 14:41:11 +02:00
.eslintignore
.eslintrc.js