Monday, February 5, 2018

Cache

What is the APC cache?
APC stands for the Alternative PHP Cache. PHP is a dynamic language that is compiled on-demand into bytecode at execution time. To improve performance, APCstores this bytecode so that it can be reused instead of having to be recompiled each time.- PHP Extension
What is a memcached?
Memcached (pronunciation: mem-cash-dee) is a general-purpose distributed memory caching system. It is often used to speed up dynamic database-driven websites by caching data and objects in RAM to reduce the number of times an external data source (such as a database or API) must be read.PHP Extension
What does Varnish cache server mean?
Varnish is an HTTP accelerator designed for content-heavy dynamic web sites as well as heavily consumed APIs. In contrast to other web accelerators, such as Squid, which began life as a client-side cache, or Apache and nginx, which are primarily origin serversVarnish was designed as an HTTP accelerator. - caching engine (reverse-proxy HTTP accelerator) used to dynamic, heavy-content, high-traffic websites

Images, css, html, and a lot of other stuff can be cached by Varnish which means Apache does less work, which generally means a happier server and a fast website