Javascript-slow loading of my order page

Source: Internet
Author: User
In the mall system developed using the fastapp framework, the front-end does not use the template engine, and some pendants are used. as a result, page loading is too slow when too much data is obtained from the database. how can we optimize it ?? This is the mall address. my webpage is loading slowly at www.lber.com.cn... in the mall system developed using the fastapp framework, the front-end does not use the template engine, and some pendants are used. as a result, page loading is too slow when too much data is obtained from the database. how can we optimize it ??
Mall address is this, http://www.lber.com.cn
The slow page loading is my order page.

Reply content:

In the mall system developed using the fastapp framework, the front-end does not use the template engine, and some pendants are used. as a result, page loading is too slow when too much data is obtained from the database. how can we optimize it ??
Mall address is this, http://www.lber.com.cn
The slow page loading is my order page.

Loading too much data at a time will inevitably slow down. The template engine is not used and the rendered template will not be cached. rendering will be performed once every request, and it will certainly be slow.
We recommend that you use the template engine to enable the engine cache.
Do not obtain too much data from the database at a time, and use several asynchronous pulling data from the background to reduce the pressure on the first loading. data that is not changed frequently must also be cached.

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.