hi, just saw this use of php that seems especially applicable to ka-map javascript.<br>you can get php to gzip .js (or .css) files for you. this seems to be working pretty well. (see code below.) it gets it down to a single request of 27K instead of 8 requests totalling > 130K.
<br><br>-brent<br><br><br><?php<br>ob_start ("ob_gzhandler");<br>header("Content-type: text/javascript; charset: UTF-8");<br>header("Cache-Control: must-revalidate");<br>$days = 30;<br>$offset = 60 * 60 * 24 * $days;
<br>$ExpStr = "Expires: " .<br>gmdate("D, d M Y H:i:s",<br>time() + $offset) . " GMT";<br>header($ExpStr);<br><br>$files = array("DHTMLapi.js", "xhr.js", "jsExpander.js
", "kaMap.js", "kaTool.js", "startUp.js", "extra.js","testExtents.js");<br><br>foreach ($files as $fi){<br> print file_get_contents($fi);<br>}<br><br>?><br><br>