File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -325,6 +325,7 @@ Menus support multiple types of links and can be easily styled with custom templ
325325- ** Conditional visibility** - Show/hide menu items without deleting them
326326- ** Icon support** - Optional icons for menu items (basic implementation currently)
327327- ** Dynamic labels** - Use model titles or custom labels for linked content
328+ - ** Caching** - Menu's are cached for the best performance
328329
329330<img src =" documentation/screenshots/menu.png " alt =" Menu builder " width =" 100% " />
330331
@@ -381,6 +382,8 @@ class Product extends Model implements HasMenuLabel
381382** Tip:** If you are using the Flexible Content Blocks title trait in your model, you can implement ` HasMenuLabel `
382383easily with [ ` HasTitleMenuLabelTrait ` ] ( src/Models/Concerns/HasTitleMenuLabelTrait.php ) .
383384
385+ ** Note:** The menu data is cached for better page load performance. The cache is cleared with model observers, when the menu is updated or deleted.
386+
384387### Menu seeding
385388
386389It makes a lot of sense to create most of the menu's in seeders, so they can be automatically synced over different environments.
You can’t perform that action at this time.
0 commit comments