helmi's blog

helmi's picture

minify javascript using Google Closure Compiler

Optimize javascript using minify

"It combines multiple CSS or Javascript files, removes unnecessary whitespace and comments, and serves them with gzip encoding and optimal client-side cache headers."

Example of interesting urls:
* http://dev.bigproject/min/?f=static/map.js
* http://dev.bigproject/min/?b=static&f=map.js,taskpane.js,OpenLayers-2.8.js
* http://dev.bigproject/min/?g=js

Few challenges during setup
* 400 Bad Request -- check your path in config.php, especially $min_documentRoot

helmi's picture

Enhance performance by make use of browser parallel download

Enhance performance by make use of browser parallel download. Below is from a ticket for one of Byte Craft project:

Need more subdomains

To optimize browser parallel download of map tile images by add subdomains [ http://developer.yahoo.com/performance/rules.html "at least two but no more than four hostnames"]

Most browser have [ http://stevesouders.com/ua/report.php?v=top 60 max connections]

Example subdomains/[ http://trac.openlayers.org/wiki/OpenLayersOptimization multiple URLS] :
* t1.map.localhost
* t2.map.localhost
* t3.map.localhost
* t4.map.localhost

helmi's picture

Render road labels, MapGuide vs Mapnik

MapGuide Mapnik
  • Both software configured to tile 256x256
  • MapGuide bad at rendering road name.
helmi's picture

asynchronous javascripts load


if you want
better user experience
more revenue
reduced operating expenses
the strategy is clear
Even Faster Web Sites

- from slides Even Faster Web Sites

helmi's picture

IE innerHTML - "Unknown runtime error"

"Unknown runtime error" -- only in IE.

helmi's picture

VMware Causing Keyboard Issues in Ubuntu

Previously to solve, I Log Out and then Log In again. But you better give this a try

  • open terminal
  • type: setxkbmap
  • put your cursor over the VMWare title bar, but not in the client window. Then Press Ctrl-g Ctrl-Alt. (This grabs and un-grabs the keyboard).

http://nthrbldyblg.blogspot.com/2008/06/vmware-and-fubar-keyboard-effect...

Syndicate content