Most pages of the website I'm building are loading in 30-100ms in dev.
If I load a prismic document, the loading time increases around 300-800ms in dev.
In preprod env. (dedicated server) the loading time is badly impacted by prismic too.
From 100ms (without Prismic) to 500-600ms (with Prismic).
The user guides tells that cached response time is around 25ms but that's not what I experiment.
$api = Api::get("https://winesmart.cdn.prismic.io/api/v2"); $document = $api->getByUID('page', 'my-slug');
Here is a sample url generated by the php kit (~100-350ms loading time)
Can you tell me if i do something wrong ?
How to contain loading time in a decent range ?
Do I have to use caching system ?