Back to Top

Caching Memory

Updated 17 March 2016

If you are a software engineer then you must know about caching memory. Today we are going to learn about cache memory. Cache memory is used to store temporary data to use again. Central Processing Unit (CPUs) and Hard Drives frequently use a cache, as do web browsers and web servers. For example, a web browser program might check its local cache on disk to see if it has a local copy of the contents of a web page at a particular URL.If your website has hundreds of pages with many visitors everyday, you might want to implement some sort of caching mechanism for your website to speed up page loading time.The most common solution is to make copies of dynamic pages called cache files and store them in a separate directory, which can later be served as static pages instead of re-generating dynamic pages again and again.Cache files are static copies generated by dynamic pages, these files are generated one time and stored in separate folder until it expires, and when user requests the content, the same static file is served instead of dynamically generated pages, hence bypassing the need of regenerating HTML and requesting results from database over and over again using server-side codes.


In the next section we will learn about how to cache dynamic pages using PHP.

Searching for an experienced
Opencart Company ?
Find out More
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home