On Fri, Oct 17, 2008 at 2:47 PM, Ludwig Isaac Lim <[EMAIL PROTECTED]>wrote:
>
> Hi:
>
> Supposing I have web page, and on that web page there are many links
> to ".pdf.gz" files
> (compressed pdf) files. Assuming that the web page and those files hosted
> on an Apache web server.
> When the user clicks a particular ".pdf.gz" link, is the decompression done
> on the server side?
If you didn't associate ".pdf.gz" to any response handler or filter
(Apache2 only), request for ".pdf.gz" would be processed by the default
response handler of Apache which just returns the file on the filesystem
that corresponds to the request's URI.
or
> is the decompression done on by the browser. Is there a way to make sure
> that the decompression is
> done in the client (browser) side?
>
It's done by the HTTP client IFF the HTTP client is capable of decoding
the content according to what was specified in the response headers.
Is this related to "mime.type" file in the Apache's /conf directory?
>
To some degree, yes, because that file is used to describe in response
headers the content that is being served.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
http://lists.linux.org.ph/mailman/listinfo/plug
Searchable Archives: http://archives.free.net.ph