cs-cart enhance system performance
(The original language of this article is Chinese. We have to translate it into English by translating software temporarily, because we are confined by the limited worktime. We are very sorry that it cause the inconvenience to your reading! You can also neglect reading this article directly,in order to avoid wasting your precious time.)
All things are contradictory, cs-cart in strong enough, it also consumes more system resources.When you deployed a cs-cart online shop often, if not reasonable to set and modified the default settings and design of the case, you will be aware of Dao Ming Xian Tabi simple structure and functions of other English Online Shop Xitong Dakaisuduo slowly, through e-cool for the engineers to explore and test, summarized as follows experience, can effectively enhance the performance of cs-cart Online Shop.
1, cs-cart design level optimization:
1. Close cs-cart to javascript multi-level menu, remove duplicate the output of the menu.
2. Close hotdeal other ajax goods output.Call to reduce cross-page product.
3. Reduce unwanted or unimportant features and interface output.
2, cs-cart set the layer optimization:
1. Increase the system capacity to set the content, modify the above for the 128M.
2. In the cs-cart addon for seo plug-in, set the directory and generates pure HTML pages.This is the key, simply open the front page of this will fully enhance the access speed.
3. In-depth analysis of system requirements and reasonable set cs-cart’s option, features, catalog, blocks, addon so.
C, cs-cart code level optimization:
1. Reduce the cs-cart in the tpl template file nested calls, this is the key to high-level optimization, but will lose the role of functional hooks and blocks.Only suitable for a senior designer for e-cool design complete the advanced application.
2. Reduce the ajax function, ajax and javascript function does not cause system resources, but will affect the client browsing speed, optimization optimize cs-cart is the essence of the front page access speed, so this part of the work should be optimized.
3. Optimization and reconstruction of a bloated cs-cart css files, optimize the structure DIV.Css reduce the file size, remove duplicate definitions.
4, cs-cart to run hardware and software system optimization:
Note: This part of the optimization is aimed at advanced users, advanced users online shop may have a large number of commodities and page views, it is necessary to invest in hardware and software environment.
1. Use separate servers to CentOS as excellent.LAMP platform, FastCGI to run.
2. CPU processing power is better, cs-cart using a powerful cpu will upgrade the system performance significantly.Base Core dual-core, multi-CPU or multi-core recommended Zhiqiang Zhiqiang.
3. Increase server memory, 2G-based, 4G or more better.




