Optimizing CS-Cart

In the past year we have a made a variety of contributions to CS-Cart to delivery noticeable improvements in regard to performance.

Optimizing CS-Cart

Here are the ones we have added thus far:

  1. MultiQuery is now supported with native database drivers. This means that now you can send 2 or more queries in a single database call. This is especially useful when aggregating a lot of data, or when dealing with high latency environments like AWS Aurora.
  2. Product features are much, much faster in CS-Cart. After intensively profiling product pages, we noticed there was flawed code for product features, causing them to be fetched with an O(3n+1) complexity. This caused a significant strain on the database.
  3. A variety of new cached snippets have been added. This means that e.g, languages do not get loaded on each page request anymore, instead, they are only loaded once and then saved to the cache.
  4. A huge range of hook additions, ranging from filter hooks to database hooks.
  5. A variety of security fixes.

We will continue to update this list with any of our efforts towards the CS-Cart codebase.