- This topic has 8 replies, 3 voices, and was last updated 14 years, 2 months ago by Anonymous.
-
AuthorPosts
-
April 21, 2009 at 11:00 pm #763illionMember
The call for the superfish script is slowing down my pageload. I dont use any of its features. Still the script and the
superfish_settings.js.php are loaded. They are taking 2 sec pageload of a total of 4 sec pageload.
Any suggestions ?April 22, 2009 at 2:44 am #5924imported_RyanMemberYou can deactivate all of the features which use the Superfish script via the admin page under ‘settings’.
I can’t remember all of the settings off the top of my head, but if you keep deactivating everything one by one you will eventually find which ones totally remove the need for Superfish and it will default back to a basic suckerfish script.
BTW, the script shouldn’t take 2 seconds to load. The script which loads is pretty basic and it should load as quickly as a static file (ie: very fast).
April 22, 2009 at 9:57 am #5925illionMemberI set:
Speed of fade-in effect: instant
Mouseover delay: 0
Hide delay time: 0When I check my page with YSlow in Firefox I get the following loadingtimes:
http://…/multi-level-navigation-plugi … php?ver=r5 [b:3sfqdin9][color=red:3sfqdin9]1,14 s[/color:3sfqdin9][/b:3sfqdin9]
http:/…/multi-level-navigation-plugin/scripts/superfish_settings.js.php?ver=1.0 [color=red:3sfqdin9][b:3sfqdin9]1,08 s[/b:3sfqdin9][/color:3sfqdin9]April 23, 2009 at 7:22 am #5926imported_RyanMemberIf those files are showing up in your HTML still then you probably still have something activated which needs the superfish script.
I can probably tell what it is if you post the URL here.
April 23, 2009 at 9:17 pm #5927illionMemberI think I found a solution:
I went to the core.php and commented the register scripts out//wp_register_script(‘hoverIntent’, $javascript_location.’hoverIntent.js.php’, array(‘jquery’), ‘r5’);
//wp_register_script(‘superfish’, $javascript_location.’superfish.js’, array(‘hoverIntent’), ‘1.4.8’);
//wp_register_script(‘superfish_init’, $javascript_location.’superfish_settings.js.php’, array(‘superfish’), ‘1.0’);
//wp_register_script(‘sfdelay’, $javascript_location.’sfdelay.js’,”, ‘1.0’);
//wp_register_script(‘sfkeyboard’, $javascript_location.’suckerfish_keyboard.js’, array(‘hoverIntent’), ‘1.0’);” title=”Wink” />
April 24, 2009 at 11:57 am #5928imported_RyanMemberHi,
That is fairly pointless as you could just modify the settings in the admin panel. If you want to update the plugin your changes will be wiped if you modify the plugin files.May 18, 2009 at 10:31 pm #5929AnonymousMemberSuperfish has been a significant loadtime hog for myself, also. thanks for the workaround!
May 19, 2009 at 6:12 am #5930imported_RyanMemberHere’s some detailed instructions on what the settings need to be to shut out the Superfish script entirely:
[code:26aiutwc]The settings you need to change to are:
Speed of fade-in effect: Instant
Mouseover delay (milliseconds): 0
Hide delay time (milliseconds): 0
Sensitivity: High
Enable keyboard accessible menu?: untick
Enable arrow mark-up?: untick
Remove title attribute? untick[/code:26aiutwc]I have no idea what you guys are finding the downloads are so slow though. The script is ridiculously simple and it loads lightning quick on every server I’ve tested it on.
September 8, 2010 at 2:55 pm #5931AnonymousMemberThanks! took care of that problem for me!
-
AuthorPosts
- You must be logged in to reply to this topic.