Skip to content
This repository has been archived by the owner on Apr 8, 2022. It is now read-only.

split the json data #39

Closed
Ashraf-Ali-aa opened this issue Sep 11, 2015 · 3 comments
Closed

split the json data #39

Ashraf-Ali-aa opened this issue Sep 11, 2015 · 3 comments

Comments

@Ashraf-Ali-aa
Copy link
Contributor

it would be nice to have the option to split the JSON data by each artboard when exporting all artboards so that we are only loading required data. I would imagine with phasing all the artboard in one single JSON file is not good for loading time.

@MForever78
Copy link
Collaborator

@ashraf-ali-ca

The main speed concern we see now is the export process, cuz it will travel all artboards and all layers, which is slow. So currently we are providing the option to let you export only one artboard.

We think the JSON load time in all modern browsers is so fast that can be ignored in most circumstances. We are exporting all data to one JSON file just out of convenience. But if you can prove that the JSON load time is notably slow, we certainly can do a split.

Thanks.

@MForever78
Copy link
Collaborator

@tudou527

我觉得 JSON 加载时间根本可以忽略不计吧...

@tudou527
Copy link
Owner

@MForever78 试了一下IOS9的sketch稿,3个页面7个画板,150K+,就算上传到服务器上加载时间可以忽略。1M左右再考虑拆分比较合适。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants