Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
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 chilling in the Monastery: (14)
As of 2014-09-30 12:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (367 votes), past polls