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
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
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
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
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
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
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,
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
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
9 matches
Mail list logo