Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

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

HTH, S


Comment on Re: Opening a Large Text File

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (17)
As of 2015-07-28 14:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (255 votes), past polls