
Andrew Sly wrote:
I have an issue with the way that following an author name from a bibrec page leads to an anchor in a "author by first letter of last name" page.
To me, this does not look like a long-term solution. It could work for a while, but as the collections continues to grow, these files will inevitably get too large to be easily useful for general browsing.
The old author pages had the problem that they were too many to generate statically (5000+) and very database-intensive to generate on-the-fly. We have a fair share of obnoxious robots visiting us (kids on a dsl line that want to grab everything and don't respect robots.txt) and every such visit costs us 5000+ heavy database hits. (The bibrec pages are much lighter on database resources.) I'll try this way to see how it performs. The script uses a list of regexes to fill the pages with authors. If the "B" page (currently 219 KB) gets too big, we'll split it into "BA" and "BM". Also, modern browser will request compression, so the 219 KB page will boil down to a ~50 KB transmission. Many other web sites use images that big. Here are the actual sizes. -rw-r--r-- 1 marcello pgweb 120171 Mar 2 15:47 a.php -rw-r--r-- 1 marcello pgweb 219237 Mar 2 15:47 b.php -rw-r--r-- 1 marcello pgweb 168136 Mar 2 15:48 c.php -rw-r--r-- 1 marcello pgweb 124726 Mar 2 15:48 d.php -rw-r--r-- 1 marcello pgweb 54900 Mar 2 15:48 e.php -rw-r--r-- 1 marcello pgweb 68002 Mar 2 15:49 f.php -rw-r--r-- 1 marcello pgweb 93415 Mar 2 15:49 g.php -rw-r--r-- 1 marcello pgweb 182640 Mar 2 15:50 h.php -rw-r--r-- 1 marcello pgweb 17617 Mar 2 15:50 i.php -rw-r--r-- 1 marcello pgweb 61671 Mar 2 15:50 j.php -rw-r--r-- 1 marcello pgweb 52031 Mar 2 15:50 k.php -rw-r--r-- 1 marcello pgweb 132947 Mar 2 15:50 l.php -rw-r--r-- 1 marcello pgweb 184111 Mar 2 2005 m.php -rw-r--r-- 1 marcello pgweb 29596 Mar 2 2005 n.php -rw-r--r-- 1 marcello pgweb 38429 Mar 2 2005 o.php -rw-r--r-- 1 marcello pgweb 9530 Mar 2 03:20 other.php -rw-r--r-- 1 marcello pgweb 110174 Mar 2 03:19 p.php -rw-r--r-- 1 marcello pgweb 11253 Mar 2 03:19 q.php -rw-r--r-- 1 marcello pgweb 85506 Mar 2 03:19 r.php -rw-r--r-- 1 marcello pgweb 195736 Mar 2 03:19 s.php -rw-r--r-- 1 marcello pgweb 88693 Mar 2 03:19 t.php -rw-r--r-- 1 marcello pgweb 29340 Mar 2 03:20 u.php -rw-r--r-- 1 marcello pgweb 148515 Mar 2 03:20 v.php -rw-r--r-- 1 marcello pgweb 139151 Mar 2 03:20 w.php -rw-r--r-- 1 marcello pgweb 7759 Mar 2 03:20 x.php -rw-r--r-- 1 marcello pgweb 18127 Mar 2 03:20 y.php -rw-r--r-- 1 marcello pgweb 15734 Mar 2 03:20 z.php -- Marcello Perathoner webmaster@gutenberg.org