Choosing What to Cache

A BIG part of caching is choosing WHAT to cache.

Not all data needs to be cached. You should focus on frequently accessed and computationally expensive data.

Avoid indiscriminate caching and guesswork!

--------------------------------------------

A lot of beginners make the mistake of just wanting to learn the cool technology like Redis or Elasticache etc. without learning how to make serious caching decisions.

Knowing how to make caching decisions is what you need to learn. We're gonna start here by thinking about what to cache and how those decisions can impact on memory use and department budget!

This is the expertise that will get you hired. Tools are just tools.

Branch: https://github.com/GaryClarke/php-api-pro/tree/74-what-to-cache

Complete and Continue  
Discussion

2 comments