Tina Cloud is in public beta. Get Started
This is an experimental feature, and the API is subject to change. Have any thoughts? Let us know in the chat, or through one of our community channels!
Tina Cloud now supports an optional Data Layer which implements a database layer between the Tina GraphQL API and the GitHub REST API. This data layer buffers requests between Tina Cloud and GitHub resulting in improved editing performance with TinaCMS. As this feature evolves, it will provide additional capabilities such as:
The TinaCMS data layer is enabled by specifying the following TinaCMS command line flag: --experimentalData. We
recommend editing the script(s) in your site's package.json to pass the flag:
"start-tina": "yarn tinacms server:start -c \"next start\" --experimentalData"Once the flag is added and the TinaCMS CLI is executed using the flag, the generated schema will be updated. These updates must be committed and pushed to the remote GitHub repository in order to activate the data layer.
Once the data layer is enabled, Tina Cloud will automatically maintain a synchronized copy of your repository in our secure cloud database. We refer to this synchronization process as indexing. It involves fetching each item from your GitHub remote repository and storing a copy in the database. After the initial indexing process, Tina Cloud will only index content that has been updated. There are some circumstances where a full re-indexing may be required. Some example scenarios are:
.tina/schema.tsThere are some issues to be aware of when using the data layer:
These issues will be addressed before this feature becomes the default for Tina Cloud.
Last Edited: February 15, 2022