Title: custom menu &#8211; OPTIMIZE QUERY!
Last modified: August 30, 2016

---

# custom menu – OPTIMIZE QUERY!

 *  [selnomeria](https://wordpress.org/support/users/selnomeria/)
 * (@selnomeria)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/custom-menu-optimize-query/)
 * hi..
    i had an idea – developers should have an ability to set a constant i.e.
 * `USE_STATIC_CUSTOM_MENU('menu_name') = true;`
 * in general, output of custom_menus on front-end, takes long (sometimes 1 second)..
   
   so, i think, that the custom-menu output should be saved as static string, and
   that should be outputed on FRONT_END request by visitors… and that STATIC string
   should be changed/ updated every time the custom-menu is edited, or when any 
   of that custom-menu’s item is modified… i think, it will save huge resources 
   over millions of sites/hosting..
 * p.s. of course, somehow, “current-menu-item” should be added while front-end 
   request..
    [https://wordpress.org/plugins/feature-request/](https://wordpress.org/plugins/feature-request/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [averta](https://wordpress.org/support/users/averta/)
 * (@averta)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/custom-menu-optimize-query/#post-6844832)
 * Hi,
 * Feature request and idea collector is just a plugin for WordPress.
    You should
   add your request in [make.wordpress.org](https://make.wordpress.org/).
 * Regards
    Averta

Viewing 1 replies (of 1 total)

The topic ‘custom menu – OPTIMIZE QUERY!’ is closed to new replies.

 * ![](https://ps.w.org/feature-request/assets/icon-256x256.png?rev=1272987)
 * [Feature Request & Idea Collector](https://wordpress.org/plugins/feature-request/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/feature-request/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/feature-request/)
 * [Active Topics](https://wordpress.org/support/plugin/feature-request/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/feature-request/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/feature-request/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [averta](https://wordpress.org/support/users/averta/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/custom-menu-optimize-query/#post-6844832)
 * Status: not a support question