Gossamer Forum
Home : Products : Links 2.0 : Customization :

To list first lot of 10 pages of links during the initial search

Quote Reply
To list first lot of 10 pages of links during the initial search
UnsureI have more than 50,000 links in the link.db. But when I searched for a common keyword, quite often I got a response of more than 5000 links, and the response took more than 10 seconds to have the first 10 links shown on screen. If I went to next page of another 10 links, it would take similar duration to response.

However, if I searched for a not-so-common keyword, and only 3 or 4 hundred links found, the response was quite quick of 2 to 3 seconds.

Any mod or configuration file modification available to speed up the response by doing the search of the keyword, and only prepare the first 10 pages of the links for display? If "Next" is clicked, the next 10 pages of links will be prepared... and so on.

Thanks for the help.
Quote Reply
Re: [ccjong] To list first lot of 10 pages of links during the initial search In reply to
You could try using grep codes in the search.cgi file (some grep examples have been posted in the past in the Links 2.0 forums), however, 50,000 links is way to much for a flat file system. In terms of efficiency (memory usage, download time, etc.), you should consider upgrading to LINKS SQL.
========================================
Buh Bye!

Cheers,
Me