[Home] [By Thread] [By Date] [Recent Entries]
On Sat, 08 Sep 2007 08:30:55 -0600, M. David Peterson
<m.david@xxxxxxxxxxxxx> wrote:
Will report back on gzip here in a sec. Yup, works just fine. The original: http://personplacething.info/index.xml The compressed: http://personplacething.info/gziptest.xmlgz The headers, --- [root@domU-12-31-34-00-03-31 webapp]# curl -I http://personplacething.info/index.xml HTTP/1.1 200 OK Content-Type: text/xml Accept-Ranges: bytes ETag: "-21878288" Last-Modified: Fri, 07 Sep 2007 16:20:02 GMT Content-Length: 9578 Date: Sat, 08 Sep 2007 14:53:46 GMT Server: lighttpd + mono + fastcgi + xameleon [root@domU-12-31-34-00-03-31 webapp]# curl -I http://personplacething.info/gziptest.xmlgz HTTP/1.1 200 OK Content-Encoding: gzip Content-Type: text/xml Accept-Ranges: bytes ETag: "-1638241461" Last-Modified: Sat, 08 Sep 2007 14:33:40 GMT Content-Length: 2638 Date: Sat, 08 Sep 2007 14:51:36 GMT Server: lighttpd + mono + fastcgi + xameleon --- Which in this case means an original file size of 9578 saves you 6940 bytes. I already have built-in memcached support based on ETags for both the resulting transformed data files as well as the source XML data and transformation files as part of the Xameleon library[1,2,3], and memcached already supports gzip out of the box, something I've had on my TODO list to add to the mix at some point. I think I need to get cranking on that TODO list! ;-) Next on the list: Port this all back to a Java library for use in Java Servlets/JSP applications. Any volunteers? ;-) :D [1] http://extf.googlecode.com/svn/branches/development-0.2.3/Xameleon [2] http://extf.googlecode.com/svn/branches/development-0.2.3/Xameleon/HttpApplication/Global.cs [3] http://extf.googlecode.com/svn/branches/development-0.2.3/Xameleon/HttpHandler/AsyncSaxonHttpHandler.cs -- /M:D M. David Peterson http://mdavid.name | http://www.oreillynet.com/pub/au/2354 | http://dev.aol.com/blog/3155
|

Cart



