Gzip html files shows weird chars in chrome -
using gzip on php output this
if( isset($compression['html']) && $compression['html'] == true) { ob_start("ob_gzhandler"); header("cache-control: must-revalidate"); header("expires: ".gmdate('d, d m y h:i:s', time() + $compression['expire'])." gmt"); }
produces error show in image below. works fine in ff , safari, in chrome not. idea how solve it?
this header get
request url:http://www:8888/formandsystem/gzo/de/dashboard request method:get status code:200 ok request headersview source accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 accept-charset:iso-8859-1,utf-8;q=0.7,*;q=0.3 accept-encoding:gzip,deflate,sdch accept-language:en-us,en;q=0.8,de;q=0.6 cache-control:max-age=0 connection:keep-alive cookie:ci_session=kyk5%2bhpx3n6de7v9ioztdznrwt8rhedqatyz7ztaoaahbubmwfk2escdjozl0bzwfi89yspmwere6nz24t%2bccgq4imtysjl12fv%2b2gmmma%2fpiolxulo7cbx%2b%2bmfzblteneenhjbc16oxg456nykd6agvue1kjc3u0c44xyomvb1zvrbbxeeujollaxusdl2vje8bvkqhqvd6djgblnnkutt1ivj2vonduy2tqsk0ldo6agsdem0hipiljtaegsoqpetkxha%2fwogr1rh0f2m4c7arhg14vw%2betiumy5i4e14ou9fzamzbmgxj%2flbwg4v7pfpq3vgcgf9ljhbtyuy9jbaucjz4s34je36xlc3mb2f5nnhhotjaullpo%2flkryeutjxaxjmxid4bbwqebiakvfawu5f6hz671x2ltucuxe%2bhcyjxegxa10byygicju%2bfccu54k9ljorb%2bcpr4sidkq%3d%3d host:www:8888 referer:http://www:8888/formandsystem/gzo/de/dashboard user-agent:mozilla/5.0 (macintosh; intel mac os x 10_7_3) applewebkit/535.11 (khtml, gecko) chrome/17.0.963.56 safari/535.11 response headersview source cache-control:no-cache, must-revalidate connection:keep-alive content-encoding:gzip content-length:1855 content-type:text/html;charset=utf-8 date:fri, 09 mar 2012 00:07:29 gmt expires:fri, 09 mar 2012 01:07:29 gmt keep-alive:timeout=15, max=100 pragma:no-cache server:apache vary:accept-encoding x-powered-by:php/5.2.13
thanks
Comments
Post a Comment