Hey guys, I am using the [repo-name].cdn.prismic.io/api/v2?[whatever queries]. However one thing that I noticed is the absence of an automatic cache clearance whenever I publish something. What would be the TTL for the CDN, or is there a better way to access it?
When something is published in the writing room the ttl to the API is instant. You can confirm this by looking at your API browser.
What happens though is that the main/master ref changes each time something is published. So it sounds like you might be looking at an old ref.
Luckily our development kits make this change automatically for you. What technology or development kit are you using to query the API?
This issue has been closed due to inactivity.