Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Opening a Large Text File

by simon.proctor (Vicar)
on Jul 06, 2006 at 15:39 UTC ( #559605=note: print w/ replies, xml ) Need Help??

in reply to Opening a Large Text File

If the file is no longer being modified, you could gzip/zip it and offer that as an alternative if the browser supports compressed content (it will be in the accept part of the incoming request headers).

You should get really good compression rates with plain text.

If the file is still being modified then your choices for compression are a bit limited. Compressing on the fly *may* work but I wouldn't be surprised if the compressor needed to keep the file *as-is* while it ran. That opens up a whole new can of worms naturally :)


Comment on Re: Opening a Large Text File

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://559605]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2016-04-29 18:48 GMT
Find Nodes?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW

    Results (441 votes). Check out past polls.