Skip to content

Caching

Marie-Louise edited this page Feb 7, 2019 · 1 revision

Its a process that refers to storing the results of an operation so that future results (made by the client) return faster.

these kind of results are usually stored :

  • making a query to the database
  • rendering images
  • rendering HTML etc etc.

It's necessary to cache when either:

  • the computation is slow
  • the computation will run multiple time
  • the output is the same for a particular input
  • the hosting provider charges you to access the database

Caching explained

Clone this wiki locally