Problem with caching

Post Reply
filthlab
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Problem with caching

Post by filthlab »

Hi,
For the "Cache time, seconds used for Rotation - CMS (New rotation)" I have "600". In common.php I do not have anything related to caching.
I've added in the header template:

Code: Select all

<?php echo date("Y-m-d H:i:s"); ?>
Every time I refresh the page in 10 min interval the time is updating. So I think the cache is not working.
I've tried to set the cashing in page template, but got the same result.

Please, let me know where I'm wrong.
admin
Site Admin
Posts: 37234
Joined: Wed Sep 10, 2008 11:43 am

Re: Problem with caching

Post by admin »

We cache script tags like <thumb <category and so on which basically involves DB queries
php code isn't cached
Don't forget to run script update
filthlab
Posts: 118
Joined: Tue May 30, 2017 6:49 am

Re: Problem with caching

Post by filthlab »

Ok, got it, thanks.
admin
Site Admin
Posts: 37234
Joined: Wed Sep 10, 2008 11:43 am

Re: Problem with caching

Post by admin »

NP
Don't forget to run script update
Post Reply