Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:17

how to optimize the menu size


Poster: grace422
Dated: Wednesday January 18 2006 - 21:32:44 GMT

I ran my site http://home.comcast.net/~w.a.cotton/USF ... ummary.htm

through a web site speed analyzer. I get good results on everything except the script. Here is the warning:

SCRIPT_SIZE - Warning! The total size of external your scripts is 12848 bytes, which is over 8K. Consider optimizing your scripts for size, combining them, and using compression where appropriate for any scripts placed in the HEAD of your documents.

I am only using the milonic script. Is this the cause of the problem? If so, what can I do to fix it?


Poster: Ruth
Dated: Wednesday January 18 2006 - 22:58:55 GMT

Hi,

I'm not sure there is a 'problem' per se. The total bytes of the scripts is not much more than your images, the download time at 56 k dialup is 6 secs, even at 33k it's less than 10 secs and even at 28k it's only 11 and 1/2 secs. That time is for the whole page to be downloaded, not those scripts.

There's no way that I know to 'combine' your menu_data file into the milonic file.

Ruth


Poster: fredlongworthhighschool
Dated: Friday January 20 2006 - 8:37:02 GMT

Have you compressed your menu_data.js file through the Javascript compactor?

http://www.milonic.com/jscompactor.php


Poster: vikenk
Dated: Friday January 20 2006 - 14:40:30 GMT

I believe the Milonic Menu source files are already compressed. I think that's what accounts for the code being on one long line.

I tried running my source files through the compressor, but didn;t gain anything.

Viken K.