The AppTemplate describing your application is stored by:
- Serializing the AppTemplate to JSON.
- Compressing the JSON.
- Write the compressed JSON to the AppTemplate store.
The AppTemplate is retrieved by reversing the steps listed above.
After the AppTemplate is serialized and compressed, we ensure that it does not exceed the maximum compressed AppTemplate size limit of 600,000 bytes. If it does, we display the message "Compressed text is too long: <size of serialized compressed AppTemplate>"
The primary contributor to the size of the AppTemplate is the number of tables and columns in each table.