in reply to Re: Speeding up large file processing
in thread Speeding up large file processing
How often does the information you are extracting from the directory structure change?
Seems to me that instead of rebuilding the html representing the structure every time the cgi script is called, you should be maintaining a pre-built file that contains the html.
When a request arrives to display the data, you just read that pre-formatted file and present it.
When changes are made to the directory structure, you run a server process that re-creates the html file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Speeding up large file processing
by ralphch (Sexton) on Jul 15, 2005 at 16:35 UTC | |
by BrowserUk (Patriarch) on Jul 15, 2005 at 17:11 UTC |