Linux Systems Administrator
Jupitermedia
US-AZ-Tucson

Justtechjobs.com Post A Job | Post A Resume

Making PHP Applications Cache-Friendly
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 Sex12/07/04 09:41
RE: Caching In A Highly Dynamic SystemFaceless09/23/03 09:14
RE: $HTTP_IF_MODIFIED_SINCE not presentjazzz04/03/03 04:16
Flash & PHP Cache ProblemphpMax08/27/02 06:16
RE: PHPNuke CacheingShadow07/03/02 08:27
$HTTP_IF_MODIFIED_SINCE not presentEd Fair05/02/02 15:02
Cache Help pleaseAJA05/01/02 20:55
GD and cache?Toast04/23/02 08:15
RE: Other kind of cache-ingMichael Svazas03/24/02 02:32
Other kind of cache-ingCatalin BOIE03/07/02 05:20
Kindly Help Me!shahid03/02/02 09:34
RE: making a wap pageGenau Junior02/22/02 16:32
making a wap pageCan Tabur02/13/02 08:40
Caching In A Highly Dynamic Systemlucitech02/11/02 11:31
Some general commentsterry chay02/03/02 09:50
RE: about cookiesLexa02/01/02 09:48
checksumApokalyptik01/15/02 01:28
RE: PHPNuke CacheingWebparadise01/04/02 17:36
RE: PHPNuke Cacheingwaddy12/09/01 15:30
RE: PHPNuke Cacheingwaddy12/08/01 14:31
RE: PHPNuke Cacheingching12/07/01 04:24
RE: PHPNuke CacheingGorka Valecnia12/03/01 18:02
RE: PHPNuke CacheingSvante12/03/01 04:27
RE: PHPNuke Cacheingjose alberto toledo11/30/01 10:48
PHPNuke Cacheingwaddy11/27/01 11:28
about cookiesReza11/22/01 10:36
$HTTP_IF_MODIFIED_SINCE not sent by default?B@rt11/22/01 03:28
RE: plz help mail meSvante11/20/01 09:17
$HTTP_IF_MODIFIED_SINCEPaul11/19/01 08:24
plz help mail meJocke11/17/01 20:42
Affects banner impressionsCSN11/17/01 00:49
Updating LoggingCSN11/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.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.