mirror of
https://github.com/outline/outline.git
synced 2026-11-20 21:23:06 +03:00
* perf: Load templates on demand and cache fetchAll results fetchAll on the base store now returns the first result for repeat calls with the same params, with a force option for callers that need fresh data. Templates load when the command bar, document header, or block menu needs them instead of on every page load. * Make fetchAll caching opt-in via fetchAllIfNeeded fetchAll always fetches again. fetchAllIfNeeded returns the previous result for the same params until a model is added to or removed from the store. Mount-effect callers for reference lists use it.