Last week's update of sunflower Gantt Chart (06.16-06.22)

Source: Internet
Author: User
We planned to update a lot of content this week, but many netizens mentioned that the current Gantt chart has poor performance. Therefore, after discussion, we decided to optimize the performance in advance, optimizing performance to the most important part" Create on demand ", We found that the implementation logic is more complex than we imagined. Therefore, it takes more time for development to ensure compatibility with all the original functions, therefore, this update is not online.
However, please rest assured that this issue is only a matter of time. At the current stage of sunflower Gantt sfgantt, we pay more attention to user experience rather than development time. at present, according to the versions we are still developing, we are very optimistic about the performance of sfgantt. Currently, we have started the XML file used for opening a test by sfgantt from 6.7 seconds to 0.7 seconds And the performance may be improved. The optimized version is expected to be released this week.
The following are released updates (minor bug fixes are not included in this column ):
1. the loading mode of images and background images is optimized to ensure that multiple identical imgfiles are not downloaded for multiple times. one user found that there were as many as 500 "loading" lists displayed in the browser's status bar during Gantt Chart loading, and worried that this would cause loading speed problems, we also have the same concerns. Therefore, we adopt a technology similar to image pre-loading to ensure that the same images are downloaded only once when sfgantt is loaded, we have no obvious feeling as to whether this function has caused performance improvement.
2. added support for extended fields of project data files. because our data file is based on the project XML file, some users plan to develop project-related applications on the basis of the second, and mentioned the problem of extended fields during the evaluation. therefore, we add the read extension field to the data and provide the calling method in the Gantt chart interface. For details, see Example: Use the project task to expand the domain attribute, if the extension attribute of the project is not cleared, you can check the project documentation.
For example, the version used by www.51diaodu.cn is changed to ", GIF. aspx". Why should it be changed to such a strange extension.
4. add cache and gzip support to the sfgantt graph above www.51diaodu.cn. this is part of Gantt Chart performance optimization, mainly the download speed optimization. Now, the following logic is used for the JS library files, XML data files, and image files used by Gantt charts:
A. A file is downloaded only once a day, and the local cache is used within 24 hours. If the browser submits a request to the server, the server returns 304 directly (no changes );
B. Perform gzip compression on JS and XML files in text format and transfer them. For example, if the original 80 K JS library file is compressed and then only 20 K, the download speed is accelerated;
C. Use gzip server cache for files that require gzip compression and transmission on the server;
After using these technologies, the page loading speed has been greatly improved. For this technology, there are also the following instructions:
A. This cache technology is completed by the step1.urlrewriter Library (ASP. NET 2.0) provided by www.step1.cn.
Objects and other files that require this logic are referenced with the. aspx extension to be processed by aspx and incorporated into the cache mechanism.
5. optimized the focus and blur mechanisms of the task. Now you can select the entire row by clicking the ID column, and automatically select the list when you click on the Gantt bar on the chart.

Welcome to the official site of sunflower Gantt sfgantt!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.