40ee2043e0
closes https://linear.app/tryghost/issue/MOM-97 The 30s search content expiry didn't really make sense and caused unnecessary delays and server load now that search will be more widely used within the editor. - replaced concept of time-based expiry with explicit expiry - content still fetched on query if not already loaded or marked as stale - added `.expireContent()` method on search service to allow explicit expiry - updated editor to pre-fetch search content when not already loaded or marked as stale - removes delay when first using internal linking search inside the editor - updated post model to expire search content on save - expires on published post save or delete - expires on publish and unpublish - updated tag model to expire content on create/save/delete - only expires when name or url is changed - updated user model to expire on save/delete - only expires when name or url is changed - does not handle creation because that's done server-side via invites |
||
---|---|---|
.. | ||
collection | ||
explore | ||
lexical-editor | ||
member | ||
members | ||
offer | ||
posts | ||
setup | ||
tag | ||
activitypub-x.js | ||
admin.js | ||
application.js | ||
authenticated.js | ||
collection.js | ||
collections.js | ||
dashboard.js | ||
demo-x.js | ||
designsandbox.js | ||
error404.js | ||
explore.js | ||
home.js | ||
lexical-editor.js | ||
member.js | ||
members-activity.js | ||
members.js | ||
mentions.js | ||
migrate.js | ||
offer.js | ||
offers.js | ||
pages.js | ||
posts.js | ||
pro.js | ||
reset.js | ||
settings-x.js | ||
setup.js | ||
signin.js | ||
signout.js | ||
signup.js | ||
site.js | ||
tag.js | ||
tags.js | ||
unauthenticated.js | ||
websockets.js | ||
whatsnew.js |