Saturday, June 25, 2011

Javascript HTML CSS

* Non-integer offsetWidth and offsetHeight in IE9 and FF4
http://vadikom.com/dailies/offsetwidth-offsetheight-useless-in-ie9-firefox4/


* Memory Leak:
http://www.javascriptkit.com/javatutors/closuresleak/index.shtml
http://msdn.microsoft.com/en-us/library/Bb250448
http://stackoverflow.com/questions/1051090/how-can-i-control-ie6jqueryjquery-ui-memory-leaks
http://www.reigndropsfall.net/2011/01/05/internet-explorer-event-handler-leaks/
http://kirblog.idetalk.com/2011/06/prototype-17-memory-leak.html
Drip http://outofhanwell.com/ieleak/index.php?title=Main_Page

* How to handle IE6
http://www.virtuosimedia.com/dev/css/ultimate-ie6-cheatsheet-how-to-fix-25-internet-explorer-6-bugs


* Speeding up access
http://developer.yahoo.com/performance/rules.html

* Cache control

Four headers:
◆ Last-Modified
◆ Expires
◆ Pragma
◆ Cache-Control
   - public:             Can be cached anywhere
   - private:            Only cacheable by browsers
   - no-cache:           Cannot be cached anywhere
   - must-revalidate:    Caches must check for newer versions
   - proxy-revalidate:   Proxy caches must check for newer versions
   - max-age:            A duration, in seconds, that the content is cacheable
   - s-maxage:           Overrides the max-age value for shared cachesC

Conditional GET and Etag http://jagbarcelo.blogspot.jp/2009/03/conditional-get-and-etag-implementation.html

Caching tutorial http://www.mnot.net/cache_docs/