Webmastersite.net
Register Log In

cache update settings
comments

Comments on cache update settings

peumus
Forum Regular

Usergroup: Customer
Joined: Aug 09, 2004
Location: Chile

Total Topics: 172
Total Comments: 462
peumus
Posted Sep 16, 2007 - 7:03 PM:

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
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Sep 17, 2007 - 3:47 PM:

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.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.