A
A
ak_wi2017-11-07 02:34:52
caching
ak_wi, 2017-11-07 02:34:52

Where is the best place to store a Wordpress multi-level menu?

The site has a tree-like menu that contains three steps: Category A...n -> Subcategory 1...n -> Post 1...
n each of which is more than ten posts, then building this whole menu, as long as a snake, takes quite a lot of resources. In this case, the menu is displayed both on the category pages and on the posts pages.
What is the best way to get rid of menu building on the fly?
(Menu can only change if subcategories or posts are added/removed)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Druzhaev, 2017-11-07
@ak_wi

Drive into transient cache

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question