Re: Gzip compression and caching system

2005-02-20 Thread Pete Jordan
gabriel l smallman wrote: Issue is that this causes the browser to pop up a dialog how you want to handle this file type. So the browser appears to not automatically unpack ..gz extensions. That's a browser-end issue if you're sending the MIME type correctly. You may need to force a .gz on

Re: Gzip compression and caching system

2005-02-20 Thread Pete Jordan
Jochem van Dieten wrote: That server has a broken HTTP implementation, it sends the full page when I use a HEAD request. That's the responsibility of the ColdFusion programmer; I confess that I rarely bother to code for it myself, but it's up to you to put in: cfif cgi.request_method eq

RE: Gzip compression and caching system

2005-02-20 Thread gabriel l smallman
Found a solution: http://www.markme.com/cantrell/archives/002658.cfm I have just tested it with gzip'd content from db using the proper headers Jochem suggested.. Whamo! ContentType=text/html Content-Encoding=gzip gabe For compression, don't use Content-Disposition and Content-Type, use

RE: Gzip compression and caching system

2005-02-19 Thread Russ
You could always save it to a temporary file right before serving it out... -Original Message- From: gabriel l smallman [mailto:[EMAIL PROTECTED] Sent: Saturday, February 19, 2005 9:46 AM To: CF-Talk Subject: Gzip compression and caching system Im working on a tag to wrap around

Re: Gzip compression and caching system

2005-02-19 Thread Pete Jordan
Im working on a tag to wrap around content and then save it to a file, gzip it and serve it out. Expanding on the cf_GZipPage custom tag. But trying to take is a step further. I would like to save the gzip'd binary data in the db. Main reason is the expected amount of gzipped files could be well

RE: Gzip compression and caching system

2005-02-19 Thread Dawson, Michael
I built a small, working test application that stored data in a SQL 2k database and then pulled it back out. It was very nifty. If you would mail me off-list, I can try to find it later. Right now, I'm trying to figure out how to load a 591-column table in SQL 200x. :( BTW, don't let them

RE: Gzip compression and caching system

2005-02-19 Thread gabriel l smallman
Issue is that this causes the browser to pop up a dialog how you want to handle this file type. So the browser appears to not automatically unpack ..gz extensions. If you want to see what I mean: http://icc.getfused.com:8300/gzip/test1.cfm cfquery name=foo datasource=#dsn# SELECT name,

RE: Gzip compression and caching system

2005-02-19 Thread gabriel l smallman
I would prefer not to, though this is better then making the os go find it in directory with a zillion files in it. -Original Message- From: Russ [mailto:[EMAIL PROTECTED] Sent: Saturday, February 19, 2005 10:40 AM To: CF-Talk Subject: RE: Gzip compression and caching system You could

Re: Gzip compression and caching system

2005-02-19 Thread Jochem van Dieten
gabriel l smallman wrote: Issue is that this causes the browser to pop up a dialog how you want to handle this file type. So the browser appears to not automatically unpack ..gz extensions. If you want to see what I mean: http://icc.getfused.com:8300/gzip/test1.cfm That server has a broken