Dan Jacobson <[EMAIL PROTECTED]> writes:

> Idea: when looking at the typical Last Time Online Pages index, it
> sure would be nice to know which items contained actual retrieved
> pages, ad which contained 404's, 503's etc.
> 
> At present, one has to click on each one to tell.
> 
> Perhaps somehow enable optionally showing the return codes right there
> in the Last Time Online Pages index.  Another method would perhaps be
> a possible sorting of this index on returned file size, perhaps even
> showing the size too... anyway, the tiny ones would be the failed
> retrievals mostly...

There is a lot of information that could be displayed in the indexes.
The size of the file (or more interestingly the length of the
content), the MIME type of the content, the error code etc.  All of
these things require that the file is opened and the header is parsed
to extract the required information.  This will increase the amount of
time that it takes to display the information a lot.

When it comes time to display the index the data needs to be
formatted.  With HTML the only way to get a neatly formatted output
with the content length or the error code or whatever displayed along
with the URL is to use tables.  The trouble here is that tables are
very slow to be drawn by most browsers.  When there is a large index
the browser must parse every row before drawing anything or the
position of the columns may be wrong.

It is not practical to have indexes without tables for normal use and
with tables when file size needs to be displayed.  There is a single
HTML template for the indexes and I don't want to have to double the
complexity of these.

These factors combine to add a large overhead when generating the
index.  For this reason I have not got this feature high on the list
of things to do (although displaying the size is in the list).

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             [EMAIL PROTECTED]
                                      http://www.gedanken.demon.co.uk/

WWWOFFLE users page:
        http://www.gedanken.demon.co.uk/wwwoffle/version-2.7/user.html

Reply via email to