eCommerce Blog on Running an Online Marketplace

Speed Boost in CS-Cart 4.3.1 Beta

Hi everybody,

Today, we’re proud to present CS-Cart 4.3.1 Beta.

Our team has been working hard to make CS-Cart faster and more feature-rich. We have fixed many bugs and added new cool features, but the main perk of CS-Cart 4.3.1 is speed.

Server Side Optimizations

On the same hardware, CS-Cart 4.3.1 Beta works faster than CS-Cart 4.2.4. We optimized SQL queries to achieve speed boost. Take a look:

During the tests, we used a relatively slow machine with 50,000 products. We do not recommend using this configuration for a live store of this size.

Every time a customer opens a page in your store or uses the search or filtering features, a database query is executed. A query tells the store what information the customer wants to see. For example, “women apparel under $100” is represented by a certain query. The more items to load and the more complicated the conditions, the heavier the query. In a store with 50,000 products, a heavy query takes minutes to run, depending on the server.

In CS-Cart 4.3.1, we focused on the heaviest queries: product sorting and filtering. By breaking these queries into smaller chunks, we achieved massive speed boost; the same data that would take over a minute to load in CS-Cart 4.2.4, loads in 5.5 seconds in CS-Cart 4.3.1 Beta.

Caching Optimization

Product search means executing heavy SQL queries. Repeat the same search twice, and you have two identical heavy SQL queries to execute. Though we’ve made heavy SQL queries much faster in CS-Cart 4.3.1 Beta, it would still be nice to eliminate the need to run duplicate queries.

This is why we’ve introduced product ID caching. During a search, CS-Cart 4.3.1 stores, (caches) the IDs of the found products. If the same search is called, CS-Cart 4.3.1 takes the results from the cache and does not run the heavy SQL query again.

Caching is useful not only for search optimization. CS-Cart 4.3.1 caches most blocks on the storefront. This makes for faster page loading on the second visit.

Storefront Optimizations

Here are the improvements we’ve made on the storefront:

Lazy loading reduces bandwidth usage on the homepage by 30 percent. This feature also reduces the number of HTTP requests to the server.

Take a look at the results from Google PageSpeed and WebPagetest:

The First Byte cell indicates time before the page starts loading.

The Start Render cell indicates time before the page content starts rendering.


You are welcome to download CS-Cart 4.3.1 Beta and test drive it. We created a special bug tracker for CS-Cart 4.3.1 Beta, so please report the issues you find. We plan to fix them quickly and roll out upgrades (Beta 2, Beta 3, etc.) once or twice a week. You will be able to upgrade from CS-Cart 4.3.1 Beta to Beta 2, Beta 3, etc. using Upgrade Center.

We will activate Store Import within a week after the first beta release. Anyone who feels like testing CS-Cart 4.3.1 Beta with his or her live store will be able to use the store import feature.

Important:

You are very welcome to join beta testing. We are eagerly waiting for your thoughts about the new release. Please post your comments here in our blog.

Don’t forget to report bugs—we greatly appreciate it.

Stay tuned to our blog for articles about the new features of CS-Cart 4.3.1.

Follow us on Facebook and Twitter to stay in touch with the latest CS-Cart and Multi-Vendor news.

Follow CS-Cart news & promotions







4.5 / 5 ( 44 votes )
Exit mobile version