By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,712 Members | 1,591 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,712 IT Pros & Developers. It's quick & easy.

Serving up compress pages without access to server side tools?

P: n/a
I have a website with no ssi, php, cgi...nothing. Plain old flat pages are
all it serves.
I need to upload a list to it - a big, plain text list in html. A 2Mb list!

With gzip compress, it comes down to 91Kb, much more modem-friendly!

After about 30 minutes of googling, I haven't yet found a way of serving
this page up like this.
I can't send headers as no php or .htaccess is allowed. Any ideas?

And please don't suggest I move to a "proper" web host! It's for a friend
with a one-off need for a small website for about 2 months, and the freebie
10Mb is fine :)
Jul 23 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Els
Alan wrote:
I have a website with no ssi, php, cgi...nothing. Plain old flat pages are
all it serves.
I need to upload a list to it - a big, plain text list in html. A 2Mb list!

With gzip compress, it comes down to 91Kb, much more modem-friendly!

After about 30 minutes of googling, I haven't yet found a way of serving
this page up like this.
I can't send headers as no php or .htaccess is allowed. Any ideas?

And please don't suggest I move to a "proper" web host! It's for a friend
with a one-off need for a small website for about 2 months, and the freebie
10Mb is fine :)


Not sure if I understand things correctly, but can't you
serve a regular html page in which you link (a href=) to the
gzip file? I thought that way it automatically would
download to the user's pc, where some unzipper will take
care of it.

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vo. O resto imperfeito.
- Renato Russo -

Jul 23 '05 #2

P: n/a
Alan wrote:
I have a website with no ssi, php, cgi...nothing. Plain old flat pages are
all it serves.
I need to upload a list to it - a big, plain text list in html. A 2Mb list!

With gzip compress, it comes down to 91Kb, much more modem-friendly!

After about 30 minutes of googling, I haven't yet found a way of serving
this page up like this.
I can't send headers as no php or .htaccess is allowed. Any ideas?


If all visitors to the site have Javascript enabled, you could use
client-side compression:

http://www.dithered.com/javascript/c...ion/index.html

Alternatively, provide two copies of file for download, one with an
..html.gz extension (assuming the server is properly configured to
recognize .gz) and one with an .html extension, and let visitors choose
which version they would like to get.

--
Klaus Johannes Rusch
Kl********@atmedia.net
http://www.atmedia.net/KlausRusch/
Jul 23 '05 #3

P: n/a
"Klaus Johannes Rusch" <Kl********@atmedia.net> wrote in message
news:2i************@uni-berlin.de...
Alan wrote:
I have a website with no ssi, php, cgi...nothing. Plain old flat pages are all it serves.
I need to upload a list to it - a big, plain text list in html. A 2Mb list!
With gzip compress, it comes down to 91Kb, much more modem-friendly!

After about 30 minutes of googling, I haven't yet found a way of serving
this page up like this.
I can't send headers as no php or .htaccess is allowed. Any ideas?


If all visitors to the site have Javascript enabled, you could use
client-side compression:

http://www.dithered.com/javascript/c...ion/index.html

Alternatively, provide two copies of file for download, one with an
.html.gz extension (assuming the server is properly configured to
recognize .gz) and one with an .html extension, and let visitors choose
which version they would like to get.


Thanks for all the replies - this last one looks very cunning - but is very
heavy on the old cpu!

We got it sorted in the end - just stripping out all the tags and stuff.
Thanks for the offer of hosting the files etc.
Jul 23 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.