Automattic / Automattic/batcache

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

Open
#59 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
295
Forks
102
PR merge metrics
No merged PRs in 30d

Description

```
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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.