Type of Cache in WordPress

There are following types of Cache we can implement to make our website

  • Super Faster
  • Increase search engine ranking
  • Increase performance
  • User friendly

Page Cache:Page Cache refer to Caching pages in html file. and serve cached file to user on recurrent request.

Object Cache: WordPress inbuild have a feature of caching DB queries is called object cache. The object cache is non-persistent cache. It does not maintain state. means it will reside in memory only for a duration of a request. Object cache will get stored for a period of time until persistent cache plugin not installed in site. If persistent cache plugin not installed in the site it stored in wp_option table.

Database Cache: Similar as of Object Cache we can Cache other DB queries with Database Cache.

Opcode caching: It refer to caching compile PHP code. PHP is an object oriented programming language and it get compiled by PHP compiler on each request Opcode cache is caching compile PHP file code.

You can explore server-level cache options in details from here

https://sgusers.com/supercacher-siteground/

 

Advertisements

2 thoughts on “Type of Cache in WordPress

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s