What is Caching?

Posted on by J. Mays | Updated:
Reading Time: < 1 minute

Caching Defined

Caching, as it pertains to hosting a website, is the temporary storage of content. This content could be images, files, bits of PHP scripts that are precompiled, HTML pages, results of database queries, and other web objects.

Why Use Caching?

Caching quickens the responsiveness of your website. You’ll also hear this concept referred to as: reducing latency, eliminating redundant processing steps, improving responsiveness, or reducing load times.

How is Caching Used?

Some mechanisms of caching take generally complex requests, such as PHP pages, and make them simple requests, such as static HTML pages. Other mechanisms of caching also store resultant data… examples would include: copies of pre-compiled PHP scripts or results to database queries. And still others, such as a content delivery network (CDN), distribute copies of content to many nodes.

To summarize, caching stores resultant simple content after a complex request, or temporarily stores copies of content in an easily and quickly accessible manner.

Avatar for J. Mays

About the Author: J. Mays

As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!

Latest Articles

Blocking IP or whitelisting IP addresses with UFW

Read Article

CentOS Linux 7 end of life migrations

Read Article

Use ChatGPT to diagnose and resolve server issues

Read Article

What is SDDC VMware?

Read Article

Best authentication practices for email senders

Read Article