O'Reilly logo

Scalability Rules: Principles for Scaling Web Sites, Second Edition by Michael T. Fisher, Martin L. Abbott

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6. Use Caching Aggressively

In the world of business, it is often said that “Cash is King.” In the world of technology, “Cache is King.” By caching at every level from the browser through the cloud, one can significantly increase the ability to scale. Similar to the theme of Rule 17, “Don’t Check Your Work” (see Chapter 5, “Get Out of Your Own Way”), caching also helps to minimize the amount of work your system does. Caching prevents you from needing to look up, create, or serve the same data over and over again. This chapter covers seven rules that will help guide you on the appropriate type and amount of caching for your application.

Scaling static content, such as text and images that don’t change very often, is elementary. A number of rules ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required