# Simplify, Batch, and Cache: How We Optimized Server-side Storefront Rendering

DevFeed: [Simplify, Batch, and Cache: How We Optimized Server-side Storefront Rendering](<https://devfeed.tech/articles/simplify-batch-and-cache-how-we-optimized-server-side-storefront-rendering-1620.md>)

Original publisher: [Read original article](<https://shopify.engineering/simplify-batch-cache-optimized-server-side-storefront-rendering>)

Author: Celso Dantas

Published: 2020-12-10T21:52:36Z

Content type: article

Language: en

Sources: [Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering.md>), [Shopify Engineering - Shopify Engineering](<https://devfeed.tech/sources/shopify-engineering-shopify-engineering.md>)

Topics: [App](<https://devfeed.tech/topics/app.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [batch](<https://devfeed.tech/tags/batch.md>), [cache](<https://devfeed.tech/tags/cache.md>), [data](<https://devfeed.tech/tags/data.md>), [database](<https://devfeed.tech/tags/database.md>), [mysql](<https://devfeed.tech/tags/mysql.md>), [performance](<https://devfeed.tech/tags/performance.md>), [redis](<https://devfeed.tech/tags/redis.md>), [ruby](<https://devfeed.tech/tags/ruby.md>), [server](<https://devfeed.tech/tags/server.md>), [shopify](<https://devfeed.tech/tags/shopify.md>)

## AI overview

The article explains how Shopify optimized a Ruby-based storefront rendering engine through faster data loading, caching, and batched MySQL queries that reduce database round trips.

## Source excerpt

On December 16, 2020 we held Shipit! presents: Performance Tips from the Storefront Renderer Team. A video for the event is now available for you to learn more about how the team optimized this Ruby application for the particular use case of serving storefront traffic. Click here to watch the video.