In order to increase the speed of my webpages, I created a Page Rule for some of my webpages (* mydomain.com/product/* ), with the following settings:
- Browser Cache TTL: a month
- Always Online: On
- Cache Level: Cache Everything
- Edge Cache TTL: a month
If I check the TTFB by using online tools like ‘bytecheck’ or ‘keyCDN tools’, I see always the same behaviour: the first check with the tool shows a TTFB of 300-400ms and the second one, only 50 ms. If I use first ‘bytecheck’, then I have to check twice with ‘keyCDN tools’ to see a fast TTFB.
- I supposed that the cached version of the HTML code was stored in the CloudFlare servers, but it seems not. It seems that visitors must load the pages twice to cache them.
- is there any method (CloudFlare API?) to cache the pages without forcing visitor to visit them twice in order to experience a fast TTFB?