Search found 3 matches
- 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 ...
- Thu Jul 22, 2004 4:27 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: menu bandwidth usage
- Replies: 5
- Views: 4183
- 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 ...
<? ob_start("ob_gzhandler"); header("Content-type: application/x-javascript ...