This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

Cache - reset?


avatar
bentasm1 0
From: -
Cache - reset?

Loving esselbach so far Smiling Face

I just started using the cache feature (memory and file), and have a question about it.

When does the cache update itself? My download's 'download counter' isn't increasing because the page is cached. If I turn cache back off, I see that it is actually increasing, but the cached file is showing it from a few hours ago. I think the same thing is occuring with users-online.

I'd like for the page to re-cache more frequently.... would this be feasible?

Thanks
Nick D.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


1 Re: Cache - reset?
avatar
Administrator
1340
From: Vienna, Austria
Cache - reset?

First, I would suggest, "file cache only", after this is the fastest option on most Linux servers.

The download pages are refreshing hourly, but each download is counted. You need to change the following line in download.php to increase the cache refresh rate:

$keepcached = MkTime()+3600; 

The "3600" are the seconds how long the page will be cached. The online users in site_header and site_footer are counted in real time without caching.

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.