HighDots Forums  

Questions on compressing web files

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Questions on compressing web files in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Neil Cherry
 
Posts: n/a

Default Questions on compressing web files - 04-03-2008 , 05:53 PM






I'm not sure if this is the correct place or not, I think it is. I
checked with my hosting provider and mod_deflate (Apache hosting) is
not available on my setup. I'd like to compress (ex: gzip index.html)
some of the files for better load times. I should clean up the site
and make the pages smaller but that's not going to happen any time
soon. If I compress the file (except already compressed file such as
..png, .jpeg, .gif and .zip files, for example) will I lock out any of
the users of popular browsers?

--
Linux Home Automation Neil Cherry ncherry (AT) linuxha (DOT) com
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
Author of: Linux Smart Homes For Dummies

Reply With Quote
  #2  
Old   
David Dorward
 
Posts: n/a

Default Re: Questions on compressing web files - 04-05-2008 , 12:06 PM






Neil Cherry wrote:

Quote:
I'm not sure if this is the correct place or not, I think it is. I
checked with my hosting provider and mod_deflate (Apache hosting) is
not available on my setup. I'd like to compress (ex: gzip index.html)
some of the files for better load times. I should clean up the site
and make the pages smaller but that's not going to happen any time
soon. If I compress the file (except already compressed file such as
.png, .jpeg, .gif and .zip files, for example) will I lock out any of
the users of popular browsers?
How do you propose to compress them without mod_deflate?

--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/


Reply With Quote
  #3  
Old   
Neil Cherry
 
Posts: n/a

Default Re: Questions on compressing web files - 04-05-2008 , 07:03 PM



On Sat, 05 Apr 2008 18:06:41 +0100, David Dorward wrote:
Quote:
Neil Cherry wrote:

I'm not sure if this is the correct place or not, I think it is. I
checked with my hosting provider and mod_deflate (Apache hosting) is
not available on my setup. I'd like to compress (ex: gzip index.html)
some of the files for better load times. I should clean up the site
and make the pages smaller but that's not going to happen any time
soon. If I compress the file (except already compressed file such as
.png, .jpeg, .gif and .zip files, for example) will I lock out any of
the users of popular browsers?

How do you propose to compress them without mod_deflate?
Actually part of the answer was easy but not the second part. I'd
simply gzip index.html (resultant: index.html.gz) before hand but the
Apache server won't serve up the file as it would with index.html. So
calling http://www.linuxha.com/ wouldn't get you the index.html.gz
file. I've currently abandoned this idea.

--
Linux Home Automation Neil Cherry ncherry (AT) linuxha (DOT) com
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
Author of: Linux Smart Homes For Dummies


Reply With Quote
  #4  
Old   
Joost Diepenmaat
 
Posts: n/a

Default Re: Questions on compressing web files - 04-05-2008 , 07:10 PM



Neil Cherry <njc (AT) cookie (DOT) uucp> writes:

Quote:
How do you propose to compress them without mod_deflate?

Actually part of the answer was easy but not the second part. I'd
simply gzip index.html (resultant: index.html.gz) before hand but the
Apache server won't serve up the file as it would with index.html. So
calling http://www.linuxha.com/ wouldn't get you the index.html.gz
file. I've currently abandoned this idea.
That's definitely possible with apache.

http://httpd.apache.org/docs/1.3/con...gotiation.html

--
Joost Diepenmaat | blog: http://joost.zeekat.nl/ | work: http://zeekat.nl/


Reply With Quote
  #5  
Old   
Neil Cherry
 
Posts: n/a

Default Re: Questions on compressing web files - 04-05-2008 , 08:14 PM



On Sun, 06 Apr 2008 02:10:19 +0200, Joost Diepenmaat wrote:
Quote:
Neil Cherry <njc (AT) cookie (DOT) uucp> writes:

How do you propose to compress them without mod_deflate?

Actually part of the answer was easy but not the second part. I'd
simply gzip index.html (resultant: index.html.gz) before hand but the
Apache server won't serve up the file as it would with index.html. So
calling http://www.linuxha.com/ wouldn't get you the index.html.gz
file. I've currently abandoned this idea.

That's definitely possible with apache.

http://httpd.apache.org/docs/1.3/con...gotiation.html

I'll check into that, thanks!

For those running on Apache 2.0:

http://httpd.apache.org/docs/2.0/con...gotiation.html

I like that about Apache, if you find 1.3 documentation you usually
can change the 1.3 to 2.0 and find the correct documentation for
that Apache. :-)

--
Linux Home Automation Neil Cherry ncherry (AT) linuxha (DOT) com
http://www.linuxha.com/ Main site
http://linuxha.blogspot.com/ My HA Blog
Author of: Linux Smart Homes For Dummies


Reply With Quote
  #6  
Old   
Andreas Prilop
 
Posts: n/a

Default Re: Questions on compressing web files - 04-07-2008 , 09:26 AM



On Sat, 5 Apr 2008, Neil Cherry wrote:

Quote:
So calling http://www.linuxha.com/ wouldn't get you the index.html.gz
Options +Multiviews


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.