Search found 3 matches

by Mailman
Thu Jul 29, 2004 1:28 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: menu bandwidth usage
Replies: 5
Views: 4183

You know, making the js files into PHP files is probably forcing the browser to reload the script every time someone visits a page, defeating the purpose of compressing it. I bet if I added some cache control to the script, I could have the best of both worlds: fast loading and low bandwidth usage ...
by Mailman
Thu Jul 22, 2004 4:27 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: menu bandwidth usage
Replies: 5
Views: 4183

Its not the speed of the menu loading that I have problems with, its the fact that the menu files use up almost 900MBs of bandwidth a month. We also use no images in the menu. Its the actual script files that are eating up bandwidth.
by Mailman
Thu Jul 22, 2004 1:38 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: menu bandwidth usage
Replies: 5
Views: 4183

menu bandwidth usage

I've noticed this menu uses up a considerable amount of bandwidth. I've been able to reduce the bandwidth usage quite a bit by renaming the menu files to filename.js.php and adding the following to the top of each file:

<? ob_start("ob_gzhandler"); header("Content-type: application/x-javascript ...