|
Making PHP Applications Cache-Friendly
Klaus A. Brunner
I'm running a public web-based forum that is read frequently
(about 10,000 hits per day), but gets relatively few postings (in the
range of 20 to 60 per day). The board software is Phorum, a nice open-source PHP application. Although the site has
other popular pages to offer, Phorum's read.php file is the
clear number one in my Apache hit and download volume statistics.
Most of these hits are apparently caused by users pressing "reload"
to check for updates every now and then.
With the rather small number of new postings, it is obvious that Phorum and its
underlying DBMS (in our case, PostgreSQL) have to repeatedly
generate lots of identical responses to identical queries. This is
a waste of bandwidth and server load and makes browsing the forum
appear slower than necessary, particularly for users with slow
connections. It also renders the caching efforts of proxy servers
virtually useless.
[ Next Page ]
| Comments: | ||
| This is a very influential speculative novel of | Sex | 12/07/04 09:41 |
| RE: Caching In A Highly Dynamic System | Faceless | 09/23/03 09:14 |
| RE: $HTTP_IF_MODIFIED_SINCE not present | jazzz | 04/03/03 04:16 |
| Flash & PHP Cache Problem | phpMax | 08/27/02 06:16 |
| RE: PHPNuke Cacheing | Shadow | 07/03/02 08:27 |
| $HTTP_IF_MODIFIED_SINCE not present | Ed Fair | 05/02/02 15:02 |
| Cache Help please | AJA | 05/01/02 20:55 |
| GD and cache? | Toast | 04/23/02 08:15 |
| RE: Other kind of cache-ing | Michael Svazas | 03/24/02 02:32 |
| Other kind of cache-ing | Catalin BOIE | 03/07/02 05:20 |
| Kindly Help Me! | shahid | 03/02/02 09:34 |
| RE: making a wap page | Genau Junior | 02/22/02 16:32 |
| making a wap page | Can Tabur | 02/13/02 08:40 |
| Caching In A Highly Dynamic System | lucitech | 02/11/02 11:31 |
| Some general comments | terry chay | 02/03/02 09:50 |
| RE: about cookies | Lexa | 02/01/02 09:48 |
| checksum | Apokalyptik | 01/15/02 01:28 |
| RE: PHPNuke Cacheing | Webparadise | 01/04/02 17:36 |
| RE: PHPNuke Cacheing | waddy | 12/09/01 15:30 |
| RE: PHPNuke Cacheing | waddy | 12/08/01 14:31 |
| RE: PHPNuke Cacheing | ching | 12/07/01 04:24 |
| RE: PHPNuke Cacheing | Gorka Valecnia | 12/03/01 18:02 |
| RE: PHPNuke Cacheing | Svante | 12/03/01 04:27 |
| RE: PHPNuke Cacheing | jose alberto toledo | 11/30/01 10:48 |
| PHPNuke Cacheing | waddy | 11/27/01 11:28 |
| about cookies | Reza | 11/22/01 10:36 |
| $HTTP_IF_MODIFIED_SINCE not sent by default? | B@rt | 11/22/01 03:28 |
| RE: plz help mail me | Svante | 11/20/01 09:17 |
| $HTTP_IF_MODIFIED_SINCE | Paul | 11/19/01 08:24 |
| plz help mail me | Jocke | 11/17/01 20:42 |
| Affects banner impressions | CSN | 11/17/01 00:49 |
| Updating Logging | CSN | 11/16/01 17:58 |
|
If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly. | ||


