Title: Prevent preloading certain classes
Last modified: October 14, 2022

---

# Prevent preloading certain classes

 *  Resolved [GermanKiwi](https://wordpress.org/support/users/germankiwi/)
 * (@germankiwi)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/prevent-preloading-certain-classes/)
 * Hi, are there any hooks and filters available with this plugin, which I can use
   to fine-tune its behaviour?
 * I’ve just installed this plugin for the first time – it works amazingly, huge
   improvement!
 * However, I noticed that when I open the dropdown menus at the top of my page,
   all of the other pages listed on the menu are immediately preloaded. This effectively
   means the user preloads almost the entire website just by opening a couple of
   menus.
 * Personally I’d prefer that the menu items are only preloaded on hover, and not
   simply when the menu is opened.
 * Is there a filter I can use to control this, eg. by filtering out the menu class,
   so that it only uses preloading on mouse hover?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Gijo Varghese](https://wordpress.org/support/users/gijo/)
 * (@gijo)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/prevent-preloading-certain-classes/#post-16101395)
 * [@germankiwi](https://wordpress.org/support/users/germankiwi/) unfortunately,
   we don’t have any hooks to customize the behaviour.
 *  Thread Starter [GermanKiwi](https://wordpress.org/support/users/germankiwi/)
 * (@germankiwi)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/prevent-preloading-certain-classes/#post-16102212)
 * Ok thanks for confirming.
 * Perhaps something to consider as a feature request? 😉

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Prevent preloading certain classes’ is closed to new replies.

 * ![](https://ps.w.org/flying-pages/assets/icon.svg?rev=2145268)
 * [Flying Pages: Preload Pages for Faster Navigation & Improved User Experience](https://wordpress.org/plugins/flying-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flying-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flying-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/flying-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flying-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flying-pages/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [GermanKiwi](https://wordpress.org/support/users/germankiwi/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/prevent-preloading-certain-classes/#post-16102212)
 * Status: resolved