Smyles' Interesting Blog

April 2004
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30  
Mar   May


 Wednesday, April 07, 2004

Taking a quick look at http://www.webreference.com/authoring/languages/html/optimize/ and http://djnewsplus.com/page/0,,7_0001,00.html leads me to the following action items:

  • Convert everything to XHTML 1.0
  • Purge HTML of presentation markup and move entirely to CSS
  • Shrink style names in CSS file
  • Shrink Javascript files (short variable names, remove ws, include at the end with onload)
  • Get rid of comments in HTML
  • Shrink URLs and apply mod_rewrite (e.g. "/search/advanced" becomes "/sa" or "/article/0,,SB108133380679444571,00.html?mod=t100_Latest_On_Stocks_Bonds" becomes "/a/SB108133380679444571/7" or /search?LINKTEXT=Telecommunications&NWCODE=I/TLS&NWCODE=I/CTS becomes /kc/12)
  • Use mod_gzip to compress HTML on the fly
  • Get rid of meta tags, other than autorefresh
  • Put lengthy parameter lists into the servlets/jsps themselves

9:33:13 AM