# For how long is it safe to cache a Prismic API ref

**URL:** <https://community.prismic.io/t/for-how-long-is-it-safe-to-cache-a-prismic-api-ref/5962>\
**Category:** Developing with Prismic\
**Tags:** rest-api\
**Created:** [June 25, 2021, 10:39pm UTC](https://community.prismic.io/t/for-how-long-is-it-safe-to-cache-a-prismic-api-ref/5962 "2021-06-25T22:39:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)\
**Post date:** [June 28, 2021, 10:29am UTC](https://community.prismic.io/t/for-how-long-is-it-safe-to-cache-a-prismic-api-ref/5962/2 "2021-06-28T10:29:31Z")

</div>

Hi Paul,

Welcome to the community!

We don't recommend caching at all:

> [@Prismic data caching](https://community.prismic.io/t/prismic-data-caching/437/6):
>
> Hey Dmitry, Yes, we don’t recommend using a caching system as this can cause issues when the master ref is changed on every document update, this can cause websites to break. Make sure you are using your CDN endpoint to offer your website extra protection and speed, for example [https://your-repo-name.cdn.prismic.io/api/v2](https://your-repo-name.cdn.prismic.io/api/v2). Also like Paulina said the platform is very stable. We have exceeded the Uptime of 99.9% for the past 26 consecutive months and are committed to maintaining this standard.

Thanks.

---

_[View the full topic](https://community.prismic.io/t/for-how-long-is-it-safe-to-cache-a-prismic-api-ref/5962)._
