WP Super Cache is a WordPress acceleration plugin. WP Super Cache caching plugin and its configuration Wp super cache reviews

WP Super Cache is a WordPress acceleration plugin. WP Super Cache caching plugin and its configuration Wp super cache reviews

18.11.2021

Hello dear readers, in this article I will talk about the popular caching plugin WP Super Cache and its detailed setting. This plugin is irreplaceable in speeding up the loading of web pages.

My opinion about the plugin is only positive, as the plugin does an excellent job with its functions and at the same time has flexible and understandable settings. Plugin popularity is over 7 mln. downloads and a rating of 4.5 ★.

You can download the plugin from the official page at WordPress.org.

The purpose and principle of the WP Super Cache plugin

Plugin WP Super Cache is free, its main function is to increase the website loading speed by creating cached pages. But how does this miracle plugin work? Let's take a look at how cache plugins work, using WP Super Cache as an example.

I must say right away that with caching an increase in the site loading speed occurs due to a decrease in database queries. How does this happen? First, I'll tell you how dynamic sites work without a caching plugin.

Dynamic sites differ from static sites in that their pages are generated by the site engine, which is called on the fly, with a large number of database queries or SQL queries occurring. If you have a lot of traffic, and your site is on shared hosting, then there is a danger that your hosting will not be able to withstand the excess load and the site will start giving error 503. This indicates that SQL queries to the database are not being processed in time. One fairly straightforward solution is to install caching components.

The principle of loading a site with the WP Super Cache plugin. Web pages accessed by users are cached or, in other words, their full cache copies are created in the format. php or. html... And the copies themselves are saved to the folder:

/wp-content/cache/supercache/domen.ru

The next time the user accesses a cached web page, the page is loaded from the cache, without creating queries to the database.

Setting up WP Super Cache

Configuring the Mod Rewrite Module

After switching on, this module does not work correctly and needs to be updated:

Figure 12. Incorrect Mod Rewrite rules

To do this, click on the Update button and go to the very end of the rules mod_rewrite:

Figure 13. Updating mod_rewrite rules

After the update, the new rules will be highlighted in green:

Figure 15. Updated mod-rewrite rules

This means that the rules mod_rewrite are successfully embedded in the file htaccess. It remains to check their availability.

Finally, I will say that this plugin is updated regularly! And after I created a shared cache, the page loading speed increased 3 times. Therefore, I advise everyone to install this plugin on a blog.

Hey! Despite a business trip on offline work, I try to devote time to my blog as much as possible, and today I want to talk about the role of page loading speed in the ranking of queries in the SERP, I will show you how to set up the WP Super Cache plugin, thereby starting caching on the site.

It has been frayed thousands of times on forums, blogs, information sites, webinars, and even in recommendations from search engines that all pages visited by robots and people should load satisfactorily quickly. Of course, no one will give exact figures for the time, but in my understanding, the faster the better.

Imagine that you wanted to go to one of the sites by means of search, clicked on its attractive, but instead of what you wanted, you were presented with a white screen with a loading indication.

If you really need it, you can wait until the page appears, but I'm sure in 50% of cases the user will close it and return back to the search. The same thing happens when robots or assessors switch to the resource, and as a result, the inappropriate speed of the site can deplorably affect its position in the TOP, because what good is it when the user still cannot read the articles.

To prevent this from happening, almost all webmasters try to optimize sites to the maximum, not only in terms of relevance, meta tags, keyword density, but also their fast loading.

I have already raised more than once in previous articles the topic of how to speed up your blog using plugins and a database:

With this article, I want to continue the topic of page caching that I started earlier in order to reduce the load on virtual hosting, which is used to operate the site.

By the way, I also applied this method to a seasonal website, which got there, but a couple of updates back successfully left it, who knows, maybe this also influenced its return to the Yandex index.

Today, not everyone understands what is at stake, and at random they clog up the sites with all possible modules, not thinking whether something superfluous has been installed.

So caching data is one of the ways to save copies of pages in a certain place on the site, and when a visitor goes to such posts, they will be loaded to him without queries to the database, but from the cache folder, which will further reduce the load on the server's RAM.

And below I will demonstrate on the experimental site how, due to the correct WP Super Cache settings, it is easy to influence the loading speed of this site.

What the caching plugin can do and how to configure it

So, first of all we need to download the WP Super Cache plugin, install and activate its work on the wordpress site, for this use this by reference.

After you have activated the plugin, you need to enable it, for which we go to “Settings” then “WP Super Cache” and mark the item “Caching enabled (Recommended)” in the “Cache” tab and click “Refresh”.

Now you can check the work of caching for which we press "Check".

If you see something similar for yourself, then everything is working as it should and you can proceed to the next stage, in which it will be enough to slightly correct the work of this module.

If you look closely at the plugin control panel, you will notice that its settings consist of the following tabs: Cache, Settings, CDN Settings, Cache Status, Shared Cache, Plugins and Maintenance.

Below I will try to familiarize you with all of them in more detail, as there you can find a lot of useful things.

Cache

This tab, as noted earlier, is responsible for enabling the caching itself, checking its operation, and also deleting pages previously saved from it.

Settings

One of the important points, since here you need to choose how the caching process will be determined. As practice shows, this happens most quickly if you choose mod_rewrite.

Now we need to deal with file compression, which is designed to automatically clear the temporary cache, which is very appropriate on sites with private updates. To do this, mark the appropriate line, but if suddenly there is a conflict in the work of the plug-in with the server, then you should return everything back.

For those who are the site administrator, that is, logged into the admin panel, you can disable caching so that the actual pages of the site are shown, a very convenient option.

After making the changes, you need to click the "Update" button, after which a message should appear that you need to "Update the Mod_Rewrite rules" for which we go down the page and press the corresponding button.

If the plugin settings are saved successfully, you will see the background color change from yellow to green.

In this area, we set the lifetime of the cache, after which it will be automatically cleared. It all depends on how often the information is updated on the site, for example, I write articles every 4 days on average, so I set the value to 345600 seconds (60 seconds * 60 minutes * 24 hours * 4 days = 345600 seconds).

And you can go the other way and set all fields to zero so that the cache is not deleted at all, the more pages are cached, the faster they will load.

Another thing I liked about the WP Super Cache options is the ability to specify which pages should not be cached.

Direct page caching... Thanks to this setting, the plugin allows you to specify a specific page to add to the cache.

https: //site/wordpress/kak-nastroit-wp-super-cache.html

https: //site/wordpress/kak-nastroit-wp-super-cache.html

It will be useful in the case when you expect a large influx of visitors to the page, for example, you send a newsletter to your subscribers about the release of a new article.

This tab will display statistics on the number of cached pages, for which you should click the "Update statistics" link.

If you suddenly made any adjustments to the site structure, for example, removed the widget or changed the banner on the pages, then you can clear the cached pages manually, click the "Delete all cache" button.

Shared cache

On this tab, the user will be able to cache not a specific page, but the entire site as a whole, that is, each entry will be entered into the cache folder.

Plugin results

Now I want to do a little experiment. Let's test the site for page loading speed using special services - first without a plugin, and then with an installed caching plugin and compare the results.

I will check the speed of the site with the following services: pr-cy.ru/speed_test and webwait.

Values ​​when not worth WP Super Cache

Indications in pr-cy.ru

For the main page:

For the inner page:

Readings at webwait.com

For the main page:

For the inner page:

When the plugin was installed and configured

Indications in pr-cy.ru

For the main one:

For internal:

Readings at webwait.com

For the main one:

For internal:

As you can see, the result of the plugin's work is very good and it is worth paying attention to. Perhaps this is not the best solution to speed up the work of the site, but it is clearly not worth giving up what is provided in the public domain, especially since setting up WP Super Cache is within the power of even a beginner, because there is nothing complicated there.

Some news ...

At the end of the last month, she left the most comments on the blog Yuliya(int-net-partner.ru), but it did not exceed the threshold of the minimum number of them, so the winner was not determined.

Carefully read the terms of the competition "" and win valuable prizes.

For today I have everything, I will be glad to know in the comments in what ways you speed up your blogs. See you soon!

Despite the fact that more than two hundred programmers from all over the world are involved in improving the WordPress platform, WP has a significant drawback, which is "slowing down" high-load projects.

Typically, site slowdowns begin when traffic reaches from several hundred to several thousand visitors per month. Much depends on the specific functionality of the site and the hosting used. When a certain level of load is exceeded, the "WordPress" starts having problems that can lead to the shutdown of the MySQL server and the freezing of the site. To avoid such problems, the developers have created special caching plugins that facilitate the work of the server and reduce the load on both the file system and MySQL several times. WP Super Cache, along with Hyper Cache and W3 Total, is one of the most popular caching plugins.

How caching works

Before you understand how the WP Super Cache plugin works, you need to understand the very principle of caching. In fact, it all boils down to the following scenario: a user, referring to the server, receives a response from it in the form of a ready-made page (cache copy), which is created once and stored on the server in a specific folder in the .html format. Thus, the saved copy of the page is issued to all users who have accessed it, and is not generated anew, which significantly reduces the load on the server. In addition, the time for issuing information to the user is reduced. And, as you know, the speed of opening a site has a positive effect on the ranking of sites.

Of course, there are "cooler" ways of caching pages in the form of a memcached server, through which, through some plugins, not only pages are processed, but also SQL queries. A combination of WP Super Cache and memcached server is one of the best options for speeding up your blog on the WordPress platform. But, alas, not all hosting providers have "memkesaged servers".

Installing WP Super Cache

Installing the caching plugin does not take even a couple of minutes. It is enough to log in to the control panel and go to the "Plugins" tab. Then you need to click on the "Add new" button. In the Popular section, WP Super Cache is one of the four most popular WordPress extensions.

Install the plugin by clicking on the "Install" button and activate it after installation.

After activation, the plugin will offer to follow the link "control page" to further configure it.

Setting up WP Super Cache for the first time

In the settings of the latest version of the plugin, there are the following sections: cache, settings, cache state, CDN setting, shared cache, discussion. Let's take a look at each WP Super Cache extension in order.

First of all, you need to activate the plugin. To do this, in the "Cache" tab, move the trigger to the "Caching enabled" position and click the "Refresh" button.

On the same page, you can check the correctness of the cache by clicking on the "Check" button. It is worth considering that to create a cache, you will need to set 777 permissions on the wp-content directory. Clearing data from the cache is carried out with one click of the "Delete entire cache" button.

All caching parameters are stored in the "Settings" tab. It is recommended to activate the following items for the plugin to work properly:

  • cache browsing sessions for faster access - all "session" activities of the user are cached in such a way that even a few hours after accessing the site, he will still receive a cached request;
  • use mod_rewrite to serve the cache - with this approach you will need to supplement the site's htaccess file;
  • use PHP to serve the cache - when caching, a slower one is used (although I used it and did not notice the difference in site speed compared to the first approach), but a simpler and more stable version of caching;
  • do not cache pages for known users - uncached pages are given to the blog owner, registered users;
  • auto-rebuilding of the cache - when the page is re-saved to the cache, users will see the old version of the page until a new one is generated;
  • mobile device support - support for mobile browsers. When this option is activated, a separate version of the cached page is created for mobile devices.
  • refresh the page when adding a new comment to it - if your blog is visited and commented by many users, then this option is vital.

In the settings there is a section "Expired pages and Cleaning up garbage", in which you need to set the so-called "cache lifetime". Basically, this is the time that the page is kept on the server. When it expires, the cache copy is deleted and a new page is generated instead. The cache lifetime is specified in seconds, for example, 3600 seconds equals 1 hour, 86400 equals days. If you want your cache not to be automatically updated, then enter the number 0 in the box.

Naturally, in order to make changes to the time settings, you will need to click on the "Change copy lifetime" button. If necessary, you can separate caching, for example, enable caching of pages and records, but disallow caching of archives and categories.

The "Cache Status" tab contains information about the number of created cache copies, their size and other statistics. As a rule, the page is sent to the cache at the first user request, but in order not to wait for this, it is enough to look in the "Shared cache" section and create all cache copies of the blog pages with one click.

It is better not to touch the CDN Settings tab for an ordinary user who is not familiar with CDN networks.

WP Super Cache had significant compatibility issues with other plugins a couple of years ago. With each version, the "super-cache" was improved and refined, which led to the stability of the plugin with other popular extensions. So in the "Plugins" tab at the moment there are 4 extensions with which a "working connection" has been established - MultiBlog, Awaiting Moderation, Bad Behavior, WPTouch. By the way, WPTouch, the most popular plugin for creating a mobile version of the site, refused to work with Super Cache for a long time. True, the popularity of this extension began to decline, in view of the emergence of adaptive themes and the development of mobile device browsers, which are not inferior in functionality to the PC versions.


If, however, problems occur during the work of the plug-in, then you should activate "Debugging" in the "Discussion" section. When debugging is enabled, all errors will be written to a separate log file accessible only to the blog administrator.

Blog caching significantly affects the speed of opening pages. However you implement it, you will have to use a caching plugin anyway. And, perhaps, one of the best options would be WP Super Cache, which is easy to configure and has good functionality.

WP Super Cache and WP Touch

WP Touch is a popular mobile website plugin. When working together, the two plugins can conflict with each other. However, these problems can be avoided by using settings. The best way is to read the instructions given by the WP Touch developer.

In this article, I will show by example the universal settings of the WP Super Cache plugin.

This free module is one of the most popular caching plugins for WordPress. However, not everyone knows how to set it up for comfortable work.

Quite often, clients ask to customize their sites and blogs. While doing this work, I draw attention to the complete absence of WP Super Cache in the settings: as far as I understand, they installed the plugin and think that everything is already working. Let's fix the situation and do some minimal manipulation.

Click to enlarge

On the "Settings" tab, start in order.

Click to enlarge

Please note that we disable caching for known users, i.e. for those who are logged in and "regulars". Now you will see the site in "real time", and users will receive cached pages.

Click to enlarge

We turn on support for mobile devices and update the cache of the page if someone added a comment to it. Then it remains to press the "Update" button for the changes to this block of settings to take effect:

Click to enlarge

If you use plugins that convert templates for mobile gadgets, you may need to enable their compatibility on the "Plugins" page:

Click to enlarge

Next, we add the necessary lines to the .htaccess file for the plugin to work efficiently. To do this, just click the appropriate button and apply the changes when information appears on the changes being made:

Click to enlarge

Now we configure the lifetime of the cache on the site, as well as the time when the garbage will be removed. 86400 seconds is 60 sec * 60 min * 24 h = day or 86400 sec... You can set this time yourself, depending on the frequency of updating your site. On news media, it can be hourly, and on sites with rare information updates, it can be done once a week or a month.

Click to enlarge

After that, we activate the changes in the plugin settings for this block by clicking on the button:

And in the last block of settings, we tell the plugin not to enable caching on the Main (Home) page of the site. If your content changes more often than you set the lifetime of the copy, then this must be done. After that, click "Save".

Click to enlarge

Everything is with the settings. Now a little about using the plugin in work.

Usefulness

If changes have been made on the site in the general structure or individual blocks, then you need to reset the cache so that all site visitors can see the changes. For example: we made changes to the sidebar or some other work to visually change the site.

Click to enlarge

If you need to temporarily disable the plugin, you do not need to uninstall it. It is enough to reset the cache (the previous step) and select the item on the appropriate tab:

Click to enlarge

And you can make sure that the plugin is working as follows: log out from the admin panel, or open your site in another browser, press the CTRL + U key combination and at the very bottom you will see the following:

Today we'll talk about setting up a plugin. WPSuperCache... Nowadays, when the speed of the home Internet acquires a cosmic speed, the speed of page loading is becoming a very important indicator for the site. Well, it's not a secret for anyone that one of the indicators of a site's ranking by search engines is the speed of loading a site's page, for the user it is also important website loading speed to get the information you need quickly. In general, everyone loves fast sites.

The best way to speed up your wordpress site is by caching. And the best caching plugin is WPSuperCache... In this article, I will explain in detail, how to install and configure caching site pages on wordpress using a plugin WPSuperCache.

What is site caching?

Website caching Is a way to speed up the loading of a site by storing the loaded page in the cache of the browser or server, so that on subsequent calls to this page, relieve the load on the server using already loaded or "cached" pages, this is especially critical for sites with high traffic.

How do I install the WP Super Cache plugin?

Installing the plugin WPSuperCache is no different from installing any other plugin, but I would recommend installing the plugin through the plugin installation console in wordpress, it's very easy and simple.

Before installing the plugin, be sure to make a backup of the site! For example, using the plugin ""

Go to the site console => Plugins => Add new in the search, write WPSuperCache and press the Enter key. Then we press the install button.

Configuring and activating the WP Super Cache plugin

Plugin activation WPSuperCache is not quite standard, in addition to the fact that you will need to activate the plugin, after installing it you will need to activate it directly in the plugin settings.

To activate, we mark "caching is enabled" and press the update button, if you get an error during activation, then check the settings for accessing files and folders on the hosting.

If you did not receive an error message, it means that the plugin started working, but with the default settings. If this suits you, then you can skip reading, the plugin is already working quite successfully.

Configuring WP Super Cache Plugin

Go to the "Settings" tab

  • Caching status

If you decide to switch to the mode mod_rewrite, then we mark this item and go down a little lower on the page and press the update button. After that you will see a large yellow field on which you will need to press the button " Update rulesmod_rewrite". The first sign that the settings have been applied successfully will be a message in a green box. Well, if you, like me, love to see everything with your own eyes, then we go to file.htacces and make sure the settings are applied.

  • Miscellaneous

At this point, everything is very well described by the developers of the WP Super Cache plugin, read and make the decision that suits you best, I have it configured as in the screenshot.

  • Settings

At this point, you can leave everything by default, but I marked the item "Refresh the page when adding a new comment to it"

  • Expired Pages & Garbage Cleaning

In this paragraph, you can configure the parameters for clearing the cache. At this point, I see no reason to change something and leave all the default settings.

I leave all other settings in this "Settings" tab by default, I see no reason to change something.

Yes. One more thing, if you suddenly decide to return to the default settings, you can do it literally in one click by going to the end of the "Settings" tab and clicking the "Restore default settings" button.

CDN setup

Using a plugin WPSuperCache you can enable CDN support.

CDN (Content Delivery Network) is literally a content delivery vehicle. The word content refers to static resources that are used on the site, such as CSS styles, images, JavaScript, archives, flash files or any other documents.

WP Super Cache states

In this tab, you can monitor your site's cache statistics, also delete expired cache, or delete the entire cache.

Shared WP Super Cache

This is the main difference between this plugin and its main advantage. This function allows you to cache the pages of the site and users will receive already cached pages. When loading such pages, much less resources will be spent than when they are dynamically generated. I advise everyone to create a shared cache for the entire site at the time of the least load on the server.

To create a shared cache, on this tab, click the "Create shared cache now" button.

This completes the plugin setup. WPSuperCache finished.

In conclusion, I want to say that the topic of caching and speeding up site loading is very relevant and, probably, I will be right if I say that the theme is from the category of eternal for wordpress, since the WordPress CMS itself is a very heavy system and requires a lot of resources. But as far as I know, the developers are actively working on optimizing this problem and soon we will not have to deal with this problem on our own.

© 2021 hecc.ru - Computer technology news