Caching is a technique that allows you to transparently store data in temporary storage, and serve all future requests directly from the temporary storage. With the use of caching, we can make the system enormously fast by reducing processing on the application server, the database server, and so on. In Chapter 1, Architectural Best Practices, we talked about the caching support in Liferay Portal. In the previous chapter, we learned various performance-related configuration best practices. Now, in this chapter we will focus on the best caching practices related to the Liferay Portal solution.
By the end of this chapter we will have learned