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

set $seconds = 0 in the batcache class and could not find 'served from batcache in xxx seconds' #59

Open
portablesoft opened this issue Oct 28, 2015 · 1 comment

Comments

@portablesoft
Copy link

var $times   =    2; // Only batcache a page after it is accessed this many times... (two or more)
var $seconds =  0; // ...in this many seconds (zero to ignore this and use batcache immediately)

Hi, after I set $seconds = 0; I alwasy get the following comments:

generated in 0.243 seconds
64311 bytes batcached for 7200 seconds

And Never see the ‘served from batcache’ comment. Is it right? Thanks.

generated 10 seconds ago
generated in 0.124 seconds
served from batcache in 0.001 seconds
expires in 7190 seconds
@salvoaranzulla
Copy link

I have the same problem. I'd like to save cache with $seconds = 0.

If I set:

var $times = 2; // Only batcache a page after it is accessed this many times... (two or more)
var $seconds = 0; // ...in this many seconds (zero to ignore this and use batcache immediately)

I always see:


    generated in 0.162 seconds
    56891 bytes batcached for 100 seconds

Can you fix this problem?

Salvatore

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

No branches or pull requests

2 participants