Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is full page caching

I am working on Magento(EE). I found a term "Full page caching". Can any one please tell me what is "full page caching in Magento or in Zend ?

like image 817
Abhijeet kumar sharma Avatar asked Sep 03 '12 08:09

Abhijeet kumar sharma


People also ask

How does full page cache work?

Full-page caching improves response time and reduces the load on the server. Without caching, each page might need to run blocks of code and retrieve information from the database. However, with full-page caching enabled, a fully-generated page can be read directly from the cache.

When should you use page caching?

Moreover, one of the main benefits of caching is that it can improve site performance. That's because when you enable caching, your content can load much faster. By saving files locally, browsers can easily access your website without having to request your site files over and over.

Why would you want to cache a page?

THE BENEFITS OF CACHINGA cache makes everything run faster and it improves the performance of the system. 2. By storing local copies of website files, your browser only needs to download that information the first time someone visits and can load the local files on subsequent visits.


2 Answers

Caching the full page?

As in every thing that is generated from a script is written to HTML and served next time, improving performance (by reducing load and not having to generate the page for every visit).

However this comes as the disadvantage of having occasionally out of date pages.

If you website isn't getting a significant amount of hits, enabling full page caching or caching of all the HTML it going to make little difference

like image 102
Pez Cuckow Avatar answered Oct 08 '22 03:10

Pez Cuckow


Magento is a shopping website CMS.

It simple means that to boost the performance of the website, it will cache (store in buffer) the HTML output of a particular page. For example, your homepage, everytime user opens your homepage, the PHP behind it, has to fetch the information from database, parse it with related views and then display the final HTML output, LOTSA processing.

Instead, caching will store the HTML output in its buffer and when user comes in, it will show the HTML cached output rather going to the database and stuff. However, life of cache has to be defined although modern cache plugins will check for any changes in the output data and update the cache as is.

Simple?

like image 34
Karma Avatar answered Oct 08 '22 04:10

Karma