Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache time inconsistency #10553

Closed
ptdev opened this issue May 19, 2016 · 2 comments
Closed

Cache time inconsistency #10553

ptdev opened this issue May 19, 2016 · 2 comments

Comments

@ptdev
Copy link

ptdev commented May 19, 2016

Hi, I've enabled the Joomla cache with APC User Cache. I've set the cache time on the configuration to "15" (which according to the description, should be 15 minutes).

Unfortunately, Joomla seems to still use that number as seconds instead of minutes.

Having seen this I then changed the cache time to "300", cleared the cache and tried it again.

Now Joomla stores most of the cache for 300 seconds but there are still a lot of cached items with 15 seconds timeout.

Below are some screenshots of my joomla configuration and APCu status page.

screen shot 2016-05-19 at 09 28 26

screen shot 2016-05-19 at 09 29 57

Steps to reproduce the issue

Enable Joomla Cache (conservative/APC User Cache)
Set "Cache Time" to "15"

Expected result

Joomla stores the cache items with 15 minutes expiration (900 seconds)

Actual result

Joomla stores the cache items with 15 seconds expiration

System information (as much as possible)

debian 8.4
nginx 1.9.10
php-fpm 5.6.20
php-apcu 4.0.7
joomla 3.5.1

Additional comments

I've posted about this before on #8707 and according to that thread, this issue should have been resolved on a recent cache system rewrite so if anyone using apcu could try to reproduce and confirm if this is also happening to them it would be great.

@andrepereiradasilva
Copy link
Contributor

you can test yoursef if it's solved.
Downlaod and install latest staging as a normal installation https://github.com/joomla/joomla-cms/archive/staging.zip

@ptdev
Copy link
Author

ptdev commented May 19, 2016

Hey, you're right, it is fixed on staging.

Since 3.5.1 was released after it was stated on #8707 that the issue had been fixed I assumed that the fix was already included on that version but apparently not and it seems it'll only be fixed on 3.6.

Thanks. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants