No form of database caching to reduce duplicate database queries. InMotion Hosting ContributorUpdated on August 16, 2021 2 Minute Read In this article I’ll quickly review why having no form of database caching to reduce duplicate database queries on your website applications, can cause a problematic level of resource usage. What is caching? You probably are already familiar with the common form of web-browser caching, even if you’re not, you’re reaping the rewards of this as you surf the Internet. For instance if you’ve been to the InMotionHosting.com site before, our logo image can become cached on your local computer. Then the next time you visit our website, so long as that logo hasn’t changed, your web-browser will just try to load the image locally instead of trying to pull it from our server again. The same concept can also be applied to software that you run on a server, for instance WordPress which is a very popular CMS (Content Management System), pulls its post data from a database. So in some cases it can cause a lot of server usage continually pulling that same post data out of the database again and again. Why use caching? By implementing a caching plugin for WordPress, the post content from the database can be cached in a ready to serve HTML page. The difference this can make on a websites resource usage can be exponentially very large. A website running with no form of database caching in extreme cases can lead to an account suspension so ensuring you have caching enabled can be critical. As an example lets say that your WordPress website takes 2 seconds of CPU time to load the front page for every visitor. If you had 1,000 visitors throughout the day request your front page, that would be over 33 minutes of CPU time. Now if you instead cached the front page on the server into an HTML page, and then simply handed off that ready to go HTML page to each of the 1,000 visitors, you would basically have the 2 seconds of CPU time to generate the page, and then very negligible usage outside of that so long as you didn’t have a lot of plugins enabled which can’t be cached. Enabling caching In order to actually cache your website to help reduce duplicate database queries, this would need to typically be manually coded in if you’re using custom coded software. If you are using WordPress and are a bit of an advanced user you can read about optimizing WordPress with W3 Total Cache plugin. If you’re a more basic user than optimizing WordPress with WP Super Cache plugin would probably be better. Summarize and Research with AIShare on Social Media InMotion Hosting Contributor Content Writer InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals! More Articles by InMotion Hosting Related Articles SSL Certificate Lifetimes Shrink to 47 Days by 2029 Installing SSLs and Generating CSRs in cPanel How to Upload Large Files Without FTP Timeouts eCommerce – Setup your Merchant Account Gateway How to Zip and Unzip Files on Windows 11 and Windows 10 How to Transfer and Backup Website Files with Rsync .htaccess File Reference List: Rules, Fixes, and Uses How to Force a File Download With .htaccess Redirecting Visitors to an Under Construction Page How to Force www and non-www on Your Domain with .htaccess