WebmasterSite.net: PHP scripts to enable your creativity
WSN Links PHP Directory Software
PHP Scripts Webmaster Links Support Forums

Register | Forgot Password

cache update settings
comments

Version: 4.1.0 RC2
printPrint


cache update settings
peumus
Forum Regular
Avatar

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile
Total Topics: 141
Total Posts: 369
Posted 09/16/07 - 04:03 PM:
quote post
#1
I find the cache system excellent and very useful.
I just would like to comment on the default cache settings:
'A page cache will update on average every 20 views, and will always update when more than 1000 hours old '
I believe a more useful default setting would be to increment the pageviews and decrease the hourly timing as:
'A page cache will update on average every 200 views, and will always update when more than 3 hours old'
This way all the first 200 views will benefit of the cache speed and we'll be shure that within the following three hours the page will be updated.

Also when a link is edited or submitted would be useful to have a conditional in {LANG_ADMIN_EDITLINK} detecting if we are using cache and their settings and saying: ...your changes will be visible to 'visitors' within the next 'three' hours.
Paul
Administrator
Avatar

Usergroup: Administrator
Joined: Dec 21, 2001
Location: Northern California
Total Topics: 55
Total Posts: 5926
Posted 09/17/07 - 12:47 PM:
quote post
#2
It depends on the sort of site. On some sites data updates frequently (such as when comments are used), on others it hardly ever changes after being added. Anyhow 1/20 is a minisule load.

A 3 hour interval doesn't lead to much caching, usually. If there are thousands of links then most views can be expected to come on items not viewed by anyone else in the last three hours. Though this is more true for forums I suppose.

"Do things you love doing, because then it ain't work. Don't do something you don't really enjoy, because you're never going to work hard enough at it." - Bob Young, founder of Red Hat
Search thread for
Download thread as


You don't have permission to post.

Please login or register.

   
 
© 2008 Paul Knierim. All rights reserved.