Serving up compress pages without access to server side tools?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Alan

    Serving up compress pages without access to server side tools?

    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 :)


  • Els

    #2
    Re: Serving up compress pages without access to server side tools?

    Alan wrote:
    [color=blue]
    > 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 :)[/color]

    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
    Blog and other pages, mostly outdated.

    Sonhos vem. Sonhos vão. O resto é imperfeito.
    - Renato Russo -

    Comment

    • Klaus Johannes Rusch

      #3
      Re: Serving up compress pages without access to server side tools?

      Alan wrote:
      [color=blue]
      > 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?[/color]

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



      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
      KlausRusch@atme dia.net

      Comment

      • Alan

        #4
        Re: Serving up compress pages without access to server side tools?

        "Klaus Johannes Rusch" <KlausRusch@atm edia.net> wrote in message
        news:2io207Fpj1 u6U1@uni-berlin.de...[color=blue]
        > Alan wrote:
        >[color=green]
        > > I have a website with no ssi, php, cgi...nothing. Plain old flat pages[/color][/color]
        are[color=blue][color=green]
        > > all it serves.
        > > I need to upload a list to it - a big, plain text list in html. A 2Mb[/color][/color]
        list![color=blue][color=green]
        > >
        > > 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?[/color]
        >
        > 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.[/color]

        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.


        Comment

        Working...