Questions and Answers : Wish list : [server] Idea for reducing number of database requests
Message board moderation

To post messages, you must log in.

AuthorMessage
joe

Send message
Joined: 2 Sep 04
Posts: 24
Credit: 12,288
RAC: 0
Message 4764 - Posted: 1 Nov 2004, 19:05:51 UTC

- in results.php set
$results_per_page = 50;

- make the first statement in result.php
ob_start("ob_gzhandler");


As more results are fetched with one database query, it should reduce the total load if someone browses all his results.

The GZ-compression of the page avoids longer load times for the users and reduces overall HTTP traffic.
ID: 4764 · Report as offensive     Reply Quote

Questions and Answers : Wish list : [server] Idea for reducing number of database requests


©2024 CERN