By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,813 Members | 1,253 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,813 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 20 '05 #1
Share this Question
Share on Google+
5 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 20 '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!


Depending on the content of the list and the expected number of hits,
I'd be happy to host it temporarily on my server (ADSL, so 91KB would
take about 4 seconds to pull off it). Other pages on your friend's site
could then link to the list on my server.

Mail me if interested - I'll want to know what the list is!

--
Mark.
http://tranchant.plus.com/
Jul 20 '05 #3

P: n/a
"Alan" <ne**@netwerx.freeserve.co.uk> wrote:
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!


Note that due to a modem's on the fly V42 compression, the uncompressed
file ends up being compressed by a factor 4 approx.

--
Spartanicus
Jul 20 '05 #4

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 20 '05 #5

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 20 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.