How to Disable Live Updating of the Content in the CMS

12 replies
Last updated: Apr 27, 2020
How can I disable live updating the content in the CMS?
Apr 26, 2020, 10:05 PM
Do you mean syncing the changes to the datastore?
Apr 26, 2020, 10:06 PM
Yeah 🙂
Apr 26, 2020, 10:06 PM
You can't – sort of defeats the purpose?
What are you trying to solve?
Apr 26, 2020, 10:07 PM
I am just writing texts in the CMS instead of copy pasting it. I just realized every keystroke is an API request and trying to be cost effective
Apr 26, 2020, 10:08 PM
(Not trying to get anything for free, but if I keep on going like this it will get too expensive for me really quickly)
Apr 26, 2020, 10:09 PM
Aha – we're soon switching the studio over to websockets which will drastically reduce the API requests in the studio.
I'm curious though: have you calculated how expensive it will be, and how quick?
Apr 26, 2020, 10:10 PM
I can have a day with 20k. I am not sure yet how consistent that will be, but 25k are $1 extra. So let’s say I am at 10k keystrokes average per day and will land at ~300k/month, that’s $8/month just for typing the content online.
Apr 26, 2020, 10:14 PM
Interesting – thanks! Thankfully, the remedy is not that far off.
Apr 26, 2020, 10:15 PM
(obviously, with expensive I don’t mean I can’t handle $8/month, but put into context with paying them for typing text)
Apr 26, 2020, 10:15 PM
Apr 26, 2020, 10:16 PM
Thanks for the heads up 🙂 Much appreciated!
Apr 26, 2020, 10:19 PM
Interesting. I was planning on asking about this as well. Just playing around with studio for a few minutes and racked up 500 api requests. A little surprised that a) it is updating in the background - you can just have the page open and you are eating api calls, and b) that it even counts api calls when you are on localhost or at least haven't even deployed yet.
Apr 27, 2020, 3:09 AM – build remarkable experiences at scale

Sanity is a customizable solution that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Categorized in