Blog W3 Total Cache WordPress WordPress Plugins Wordpress Tutorials

W3 Total Cache Settings To Supercharge Your Website’s Speed

You learn that title proper.

This publish is a few particular WordPress plugin that every blogger ought to have beneath their toolbelt.

I’m speaking about W3 Total Cache — an all-in-one website optimization plugin.

In the event you use WordPress, read on to learn how to make use of W3 Total Cache to supercharge your web site’s efficiency.

Table Of Contents

  • 1. Introduction
  • 2. Optimizing Your Common Settings
  • 3. W3 Total Cache Optimum Settings: Page Caching
  • 4. Optimizing Minify Settings
  • 5. Optimizing Database Cache
  • 6. Optimizing Object Cache
  • 7. Optimizing Browser Cache
  • eight. Optimizing Consumer Agent, Referrer, and Cookie Groups
  • 9. Optimizing Fragment Cache
  • 10. Using Extensions for Scalability
  • 11. Conclusion

Permit me to start out by introducing the plugin of the hour.


What’s W3 Total Cache?

As a blogger, growing your web site’s performance ought to be a prime precedence.

Not only will it considerably improve the consumer expertise, it’ll additionally show you how to attain larger search engine rankings.

W3 Total Cache makes web site performance optimization a walk in the park. It has all of the features you’ll ever want for the majority of factors that have an effect on loading velocity.

Identical to each other WordPress plugin out there, installing W3 Total Cache is the first step.

You possibly can view the plugin’s overview page by clicking ‘Performance’ from the primary menu and clicking ‘Dashboard.’

How to Use W3 Total Cache

This could offer you a very good take a look at a number of the plugin’s key options. It’s also possible to carry out fast actions like a WordPress compatibility examine and cache emptying.

W3 Total Cache Quick Actions

In fact, the W3 Total Cache dashboard page is simply the beginning.

Why don’t we take a better look underneath the hood?


Optimizing Your Common Settings

Like most WordPress bloggers, the “General Settings” web page is probably the primary part you’ll verify.

Luckily, that’s also where W3 Total Cache’s core options might be enabled, specifically:

1. Selecting the Proper Web page Cache Setting for Your Web site

Earlier than we go any further, page caching — along with a variety of W3 Total Cache’s options — are already explained in this publish. Doing so should offer you a extra detailed rationalization of all methods that might be mentioned afterward.

Now that we received that out of the best way, web page caching could be enabled with W3 Total Cache in actually two clicks.

Simply select the ‘Enable’ checkbox beneath the “Page Cache” section and click ‘Save all settings.’

Enabling Page Cache in General Settings

Website caching works by enabling browsers to briefly save your web site’s knowledge. This enables them to instantly fetch your content material on the consumer’s subsequent visit.

What concerning the other settings?

The great thing about using W3 Total Cache is that the majority options should work properly proper out of the field. Nevertheless, there are W3 Total Cache optimum settings to be aware of.

If your website at present runs on a shared host, choose ‘Disk: Enhanced’ as your web page cache technique.

‘Opcode’ caching, nevertheless, have to be selected in the event you upgrade to a dedicated server. For many who use cloud hosting, then ‘Memcached’ ought to be your web page cache technique.

Page Caching Methods

2. Minifying Your Code for Decrease Bandwidth Usage

Code minification is one other W3 Total Cache function that would give your website’s efficiency a simple increase.

Take into account that your web site’s codesconsume bandwidth to be loaded into net browsers. This consists of CSS, HTML, JavaScript, and so forth.

The larger these bits of codes are, the extra bandwidth they have to be transferred.

In turn, this will increase the general loading time of your page.

The best way to do minification the old-school approach

With minification, pointless code parts like feedback, whitespaces, and line breaks are stripped eliminated.

Need to do it manually?

Positive, in the event you’re prepared to stare in entrance of your pc for days and even weeks on end.

As an alternative, use a device like Minify Code to routinely minify any code you add.

Minify Code

If that’s not straightforward enough for you, W3 Total Cache can minify your codes in a snap.

Doing it with W3 Total Cache

On the “Minify” section, tick the ‘Enable’ checkbox and save your modifications. As for the remainder of the settings, you possibly can depart them to their default values.

Minify Page Cache Settings

Minification by means of W3 Total Cache, nevertheless, could be disabled in case you use Cloudflare. It’s an internet optimization and safety providers firm that implements code minification in your behalf.

In case you’re thinking about Cloudflare, I’m happy to inform you that they do supply a free answer.

This lets you reap the benefits of a worldwide CDN, primary DDoS safety, and a free SSL certificates.

Cloudflare Plans and Pricing

3. Utilizing Other Website Caching Methods

Aside from the essential page cache mentioned above, you may as well modify numerous caching options on the overall settings web page. This consists of database caching, Opcode caching, object caching, and browser caching.

These caching options could be found immediately under the minify section.

Additional Site Caching Methods

Under are the precise ways to use each caching choice:

  • Opcode Cache — Opcode caching works by decreasing PHP code blocks on your web site. It’s solely obtainable if in case you have W3 Total Cache Pro.
  • Database Cache — For those who use virtual internet hosting or a Content Supply Community, it’s greatest to go away database caching disabled. You might also need to check your website’s velocity after enabling this feature to see whether or not it helps.
  • Object Cache — Whereas it might slow down your WordPress admin area, object caching is advisable for dynamic web sites. These are websites that permit users change or add content, akin to forum posts, purchasing carts, and other customizable parts.
  • Browser Cache —Out of all the caching choices, browser caching is the one you must allow no matter what. It utilizes the assets of your visitors’ computers, so it gained’t negatively have an effect on your website beneath normal circumstances.

4. Updating Your CDN Settings

Following the additional caching settings is the “CDN” part.

In simple phrases, a CDN works by leveraging a network of proxy servers distributed across multiple regions. Latency is then significantly decreased by letting users download your web site’s knowledge from the nearest server.

To a level, CDNs additionally supply protection towards DDoS or Distributed Denial of Service attacks.

So…does that mean W3 Total Cache will give me a CDN?

Unfortunately, enabling the CDN choice on W3 Total Cache doesn’t imply you’ll mechanically receive these advantages.

W3 Total Cache General CDN Settings

The thing is, a CDN can solely be utilized with the help of third-party providers. Aside from Cloudflare, other examples of corporations that provide CDN providers are:

  • MaxCDN
  • KeyCDN
  • Rackspace

You possibly can view extra options by studying this listing of free CDN providers for WordPress blogs.

When you use a CDN, then you must click on ‘Enable’ on W3 Total Cache’s common settings page.

You then have to choose the suitable “CDN Type” from the drop-down menu to match your CDN supplier.

Finding Your CDN

What’s that — you possibly can’t discover your CDN from the listing?

Because of the recognition of W3 Total Cache, your CDN supplier can probably help you in the configuration process.

Cloudflare users, for instance, need to use the official extension as a way to use W3 Total Cache with their CDN.

Cloudflare W3 Total Cache Extension

For different CDN service suppliers, the “Generic Mirror” choice will almost definitely be used.

In any case, further setup is important when establishing your CDN with W3 Total Cache. We’ll explore this course of later with just a little more element.

5. Understanding Additional Settings

One of the explanation why W3 Total Cache is so in style is its comprehensiveness.

In addition to the settings outlined above, it additionally has superior tools that take performance optimization to the subsequent degree.

Granted, nearly all of WordPress customers don’t have to play with these features.

However in case you do, then let me gloss over those options actual quick.

Reverse Proxy

Proper after the CDN section, you’ll find “Reverse Proxy.”

This can be a function that refreshes the Varnish cache each time website content material is up to date.

If these terms are unfamiliar to you, likelihood is you don’t want to use them yet.

Varnish Cache is an software accelerator that primarily used by giant websites and APIs. As soon as put in in your server, it independently performs caching on your website’s content for enormous velocity boosts.

W3 Total Cache’s reverse proxy settings let you specify your Varnish IP addresses. You then need to click on ‘Save all settings’ on your modifications to take effect.

Reverse Proxy Settings

To put things in perspective, Varnish is utilized by very giant websites like Reddit, Wikipedia,and Stack Overflow.

Until you get as much visitors as these websites, I wouldn’t worry about Varnish or reverse proxy settings for now.

Monitoring

Just like reverse proxy, the “Monitoring” part is another function that the majority W3 Total Cache users ignore.

Principally, it enables you to monitor the performance of your website or net software by way of New Relic — a software analytics service.

Should you use New Relic, then you’ll want to configure your API key right here.

Fragment Cache

For web sites that use dynamic blocks of PHP code, then fragment caching ought to give your web site a noticeable velocity improvement.

As effective as fragment caching is, there are two downsides to this function.

First, implementing it may be tough.

The “Fragment Cache” section of W3 Total Cache’s basic settings page will help with the first step of deployment.

After you choose a fragment cache technique, you also should define “fragment groups” in your PHP codes. This can be a activity for a developer, however if you wish to study, begin with this web page from W3 Edge.

Fragment Cache Method

Apart from the difficult configuration process, fragment caching also requires you to buy W3 Total Cache Pro.

This takes us to the subsequent function it is best to find out about.

Licensing

In case you have upgraded to W3 Total Cache Pro, you’ll be able to enter your key on the “Licensing” section. When achieved, click on ‘Verify license key’ to activate your copy on your present WordPress set up.

Where to Put Your License Key

That jogs my memory, we haven’t talked about the advantages of W3 Total Cache Pro yet.

We’ve already coated fragment caching, which is among the 4 selling points of W3 Total Cache Professional:

Benefits of W3 Total Cache Pro

Miscellaneous Settings

W3 Total Cache’s flexibility is in full show with the “Miscellaneous” section on the overall settings page.

On the very prime is the ‘Enable Google Page Speed Dashboard Widget’ choice.

When correctly configured, this can present knowledge out of your web site’s PageSpeed Insights report on your WordPress dashboard. You simply want to pick the checkbox and enter your PageSpeed API key.

Enable Google PageSpeed Insights on Dashboard

Using PageSpeed Insights is a go-to technique of measuring an internet site’s efficiency.

With the function above, it’s easier to tweak W3 Total Cache since your velocity rating is up to date in actual time.

In the event you don’t know where to get your PageSpeed Insights API key, seek advice from this documentation from Google.

With PageSpeed Insights integrated, you might also enable the ‘Show page rating in admin bar’ choice. This can make your website’s velocity score instantly visible on your WordPress dashboard.

Under the settings associated to PageSpeed Insights is the ‘Verify rewrite rules’ choice.

As the outline implies, it can provide you with a warning every time your rewrite guidelines have issues in your .htaccess file.

Verify Rewrite Rules Option

Enabling this feature won’t have any negative effects in your website’s efficiency, so it’s greatest to go away it on. This can provide help to keep the integrity of your website’s code.

Shifting on, the ‘Enable file locking’ choice prevents multiple users or processes to access the same file concurrently.

W3 Total Cache recommends holding this feature disabled for NFS techniques together with web sites operating on shared internet hosting.

Enable File Locking

Perhaps the only state of affairs the place file locking is beneficial is on very busy sites the place entry conflicts are believable. Even then, it might not end in any perceptible efficiency positive factors.

Talking of tentative performance optimization features, the subsequent choice additionally doesn’t assure improved loading velocity. Apparently, it has the precise reverse use case as file locking.

If your net host is NFS-based, contemplate enabling ‘Optimize disk enhanced page and minify disk caching for NFS.’ This might lead to an honest improve in web site efficiency, however you’ll should see for yourself if it really works.

Optimize Disk Enhanced Page

Lastly, the final two miscellaneous settings have nothing to do with web site efficiency enchancment.

With ‘Anonymously track usage to improve product quality’ enabled, you grant W3 Total Cache to track your plugin utilization. Helpful in case you care concerning the plugin’s improvement, however plenty of bloggers would like this to be off.

‘Enable caching statistics,’ however, might be useful should you’re into fine-tuning W3 Total Cache over time.

Additional Miscellaneous Settings

6. Debugging Settings

For those who plan to make use of caching statistics, it is sensible for you to use debugging settings as properly.

Debug modes will generate in-depth information about sure caches when enabled. To use them, tick the checkbox of the mode you need to activate.

W3TC Debugging Settings

The catch is, enabling any debug mode might end in less-than-ideal performance. That’s as a result of your website has to place in additional work to trace W3 Total Cache options.

That stated, debugging ought to be carried out on a short-term basis and disabled when you’ve labored out all the issues.

7. Importing and Exporting W3 Total Cache Configurations

W3 Total Cache is usually seen as a plug-and-play answer that takes little to no setup.

With what you’ve read up to now, can you still say the identical thing?

In all probability not.

The truth is, configuring W3 Total Cache might take hours if you would like it tailored to your website’s wants.

That’s why W3 Total Cache lets you export and import plugin configuration settings.

To import plugin configuration from an outdoor source, click ‘Choose File,’ discover the HTML or .json document, and click ‘Upload.’ Consider it or not, there are actually WordPress blogs on the market that help you download their plugin configuration.

Import and Export Settings

If that you must export your plugin settings as a backup, simply click on ‘Download’ subsequent to “Export configuration.”

How to Export Your W3TC Settings

By accident tousled your WordPress website by importing a configuration file?

Don’t worry — you’ll be able to all the time revert the plugin back to default settings with one click on.

Just click ‘Restore Default Settings’ and also you’re golden.


W3 Total Cache Optimal Settings: Page Caching

If you’re accomplished with the overall settings of W3 Total Cache, it’s time for the superior page caching options.

We still have a variety of floor to cover, so let’s simply get on with the really helpful settings for max web site efficiency.

A phrase of advice: you will encounter a variety of technical terms for the remainder of this submit. That stated, try to hold a separate tab open so you’ll be able to seek for their definitions.

But on your comfort, I listed down the optimum configuration for many WordPress blogs. All that’s left to do is copy these settings and apply it on W3 Total Cache.

Ready? The press on ‘Page Cache’ from the “Performance” sub-menu to get started.

Access Page Cache Settings from Dashboard

eight. Choosing the Right Common Options

For web page caching, under are the optimum W3 Total Cache settings it is best to use on your WordPress website:

Page Cache Optimal Settings

  • Cache posts page — Enable.
  • Don’t cache front web page — Disable.
  • Cache feeds:website, categories, tags, feedback — Enable.
  • Cache SSL (HTTPS) requests — Enable should you use an SSL certificate.
  • Cache URIs with query string variables — Allow until the checkbox is greyed out.
  • Cache 404 (not found) pages —Disable.
  • Don’t cache pages for logged in users — Allow.
  • Don’t cache pages for the following consumer roles — Enable as long as you select all consumer roles.

9. Configuring Aliases

Should you don’t even know what aliases are, then don’t contact anything underneath the “Aliases” part.

On the earth of webhosting, an alias is a separate domain that factors to the same WordPress installation. This is one thing that one-man bloggers not often do, so be happy to disregard this part.

In any other case, it is best to already know what to do next:

Aliases Field

10. Utilizing Cache Preloading

While common caching improves the experience of returning visitors, cache preloading advantages everyone.

Sure — that features first-time visitors.

Listed here are one of the best settings for cache preloading:

Cache Preloading Settings

  • Mechanically prime the page cache — Allow.
  • Update interval — 900 seconds.
  • Pages per interval — 10 pages.
  • Sitemap URL — Just paste the URL of your sitemap. Study more about sitemaps by reading this submit.
  • Preload the publish cache upon publish occasions — Enable.

11. Setting Your Cache Purging Policy

Purging caches makes positive customers can view the newest modifications in your website.

By setting a purge policy, you set this process on autopilot each time any of the following happens:

  • You create a brand new publish
  • You edit an present publish
  • A consumer posts a remark

To create a purge policy that gained’t affect your web site’s performance, use the following settings:

Purge Policy

  • Pages to cache — Entrance page, posts page, submit page, and weblog feed.
  • Specify the feed varieties to purge — Rss2 (default).
  • Purge restrict — 15 or more in case you have a higher-end server.
  • Further pages — Clean.
  • Purge sitemaps — Hold the default common expression worth.

12. Managing the REST API

If in case you have W3 Total Cache Professional and use RESTful API, you might profit from the REST API caching software.

RESTful API is predicated on the Representational State Switch know-how. That is used for tasks like connecting WordPress with a JavaScript frontend, driving plugins, or building cellular apps.

Let me guess — you’re nowhere near doing something of that magnitude.

During which case, it’s greatest to go away the REST API caching with the default setting: ‘Don’t cache.’

REST API

13. Superior Web page Cache Settings

W3 Total Cache has an extended record of superior settings for page caching.

Naturally, there are a plethora of the way to configure these settings based mostly in your web site’s requirements. But for most bloggers, the settings under ought to ensure a loading velocity enchancment.

Advanced Page Cache Settings

  • Late initialization — Disable.
  • Late caching — Disable.
  • Compatibility mode — Disable until you’re getting caching errors.
  • Charset — Disable until you find uncommon characters in your web page cache.
  • Reject HEAD requests — Depart to default.
  • Garbage collection interval — three,600 seconds if caching to disk (in any other case, this feature might be greyed out).
  • Comment cookie lifetime — 1,800 seconds
  • Accepted query strings — Blank.
  • Rejected consumer brokers — Blank.
  • Rejected cookies — wptouch_switch_toggle(default).
  • Never cache the next pages — wp-.*.phpand index.php(default.)
  • Never cache pages associated with these categories — Blank.
  • Never cache pages that use these tags — Blank.
  • By no means cache pages by these authors — Blank.
  • By no means cache pages that use these custom fields — Blank.
  • Cache exception listing — Add pages that have issues with caching.
  • Non-trailing slash pages — Maintain the default pages.
  • Specify page headers — Hold the default settings.
  • Deal with XML mime sort — Enable.

Optimizing Minify Settings

Again, in the event you use Cloudflare, there’s no want to switch the W3 Total Cache code minification settings.

On the ‘Minify’ page, you’ll be able to management how code minification is dealt with on your WordPress website.

Minify Advanced Settings Access

Here is a breakdown of each part on the minify configuration page:

14. Basic Settings

With regards to minification, you don’t have to make any modifications within the common settings. But that doesn’t imply we shouldn’t assessment the perfect code minification settings of W3 Total Cache.

Minify General Settings

  • Rewrite URL construction — Allow.
  • Disable minify for logged in customers — Depart to default.
  • Minify error notification — Disable.

15. HTML & XML Minification

By default, W3 Total Cache won’t minify inline CSS and JavaScript information on your web site’s HTML. You possibly can enable these options to improve your website’s performance.

HTML & XML Minification Settings

  • HTML minify settings — Enable with inline CSS and inline JS minification.
  • Ignore remark stems — Maintain default values.

16. JS Minification Settings

While inline JavaScript minification on is disabled at first, actual JavaScript minification on your website is enabled from the get-go.

You possibly can maximize the consequences of JavaScript minification by applying the following settings:

JS Minification Settings

  • JS minify settings — Enable whereas selecting “Minify” over “Combine only.”
  • Operations in areas (Before) — Non-blocking using “defer.”
  • Operations in areas (After) — Non-blocking using “defer.”
  • Preserved comment removing — Allow.
  • Line break removing — Allow.
  • HTTP/2 push — Enable besides should you use the “Disk: Enhanced” technique with Nginx.

17. CSS Minification Settings

Identical to JavaScript minification, CSS minification is enabled proper off the bat.

There are, nevertheless, a couple of further settings to enable if you would like a fluid website.

CSS Minification Settings

  • CSS minify settings — Allow with “Combine only” chosen.
  • @import handling — None.
  • HTTP/2 Push — Allow.

18. Advanced Minification Settings

As icing on the cake, use the options under on the “Advanced” part.

Advanced Code Minification Settings

  • Replace exterior information every — 86,400 seconds (24 hours).
  • Garbage collection interval — 86,400 seconds (24 hours).
  • By no means minify the next pages — Depart empty.
  • By no means minify the next JS information — Briefly add codes you’re at present working on to protect feedback and readability.
  • By no means minify the next CSS information — Similar as above.
  • Rejected consumer agents — Depart empty.
  • Embrace external information/libraries — Add URLs of exterior assets like Google Fonts and the Google Tag Manager. Simply make sure you check your modifications.
  • Use Regular Expressions for file identify matching — Disable in the event you’re not using W3 Total Cache to optimize external JavaScript libraries.

Optimizing Database Cache

Your website consists of lots of elements that have to be fetched and loaded every time they’re wanted.

Database caching can augment this course of by making assets for widespread queries readily available. This reduces the CPU load of serving website knowledge to users.

Right here’s the very first thing you need to do. For those who’re not utilizing a CDN or a virtual host, enable ‘Don’t cache queries for logged in users.’

Don't Cache Queries for Logged In Users

19. Superior Database Caching Settings

For the advanced settings, right here’s what you need to do:

Advanced Database Caching Settings

  • Maximum lifetime of cached objects — 180 seconds for high-traffic sites, as much as 7,200 seconds for low-traffic websites.
  • Rubbish collection interval — Anyplace between 3,600 and 86,400 seconds (if the option shouldn’t be greyed out).
  • By no means cache the following pages — Depart empty.
  • Ignored question stems — Depart the default values or add “wc-session” when you use WooCommerce.
  • Reject question phrases — Depart to default.
  • Reject constants — Depart to default.

Optimizing Object Cache

Object caching is another solution to scale back the CPU utilization of loading your web site.

Don’t be stunned in case your admin space slows down with this function turned on. It’s truly an inexpensive trade-off in case you worth the expertise of your customers.

20. Advanced Object Caching Settings

Dynamic web sites stay by database and object caching to stay fast and responsive. You simply want to apply these optimum settings:

Advanced Object Cache Settings

  • Default lifetime of cache objects — Like database caching, this must be 180 seconds for high-traffic sites and as much as 7,200 seconds for low-traffic sites.
  • Rubbish collection interval — three,600 seconds.
  • International teams — Depart to default.
  • Non-persistent groups — Depart to default.
  • Allow caching for wp-admin requests — Allow this to hurry up your WordPress admin panel, however disable in the event you get outdated, cached knowledge.
  • Retailer transients in database — Allow.

Optimizing Browser Cache

Although database and object caching are both non-compulsory, browser caching ought to be enabled for every WordPress website.

It allows net browsers to store static website information like photographs, text, and codes for fast retrieval.

Like code minification, browser caching additionally has an in depth listing of choices.

Under is a rundown of each section:

21. Common Settings

As a rule of thumb, allow the primary six options on the “General” part of the browser cache configuration page:

Browser Caching General Settings

  • Set Last-Modified header
  • Set expires header
  • Set cache management header
  • Set entity tag
  • Set W3 Total Cache header
  • Enable HTTP (gzip) compression

Need to know one thing fun?

Most of those are browser caching features that you could check on GTmetrix — a free web site performance evaluation software.

You need to use GTmetrix when you configure W3 Total Cache to verify sure caching options. For those listed above, they need to seem on the ‘YSlow’ tab of the evaluation report.

YSlow Results on GTmetrix

Beyond the primary six options, there are different things you need to handle on the browser caching configuration web page:

Browser Cache General Settings

  • Allow HTTP (brotli) compression — Allow this feature if out there and check if it outperforms gzip compression.
  • Forestall caching of objects after settings change — Allow.
  • Take away query strings from static assets — Allow.
  • Forestall caching exception listing — Depart empty.
  • Don’t set cookies for static information — Allow.
  • Don’t course of 404 errors for static objects with WordPress — Disable.
  • 404 error exception record — Depart to default.
  • Rewrite URL construction of objects — Disable.

22. CSS & JS, HTML & XML, Browser Caching Settings

As said above, browser caching can be used on codes like CSS, JavaScript, and HTML information.

To hold your WordPress website in tip-top shape, it’s advised to go away these settings as they’re.

Only a reminder: the settings for CSS & JS, HTML & XML, and Media & Other Information are somewhat comparable. Since there’s no cause for them to have totally different configurations, use the following settings where they apply:

CSS & JS Settings for Browser Caching

  • Set Final-Modified header — Enable.
  • Set expires header — Allow.
  • Expires header lifetime — 3,600 seconds for HTML & XML, 31,536,000 seconds (one yr) for the opposite two.
  • Set cache control header — Allow.
  • Cache control policy — Depart to default (cache with max-age).
  • Set entity title tag — Allow.
  • Set W3 Total Cache header — Enable.
  • Enable HTTP (gzip) compression — Enable.
  • Allow HTTP (brotli) compression — Similar as before.
  • Forestall caching of objects after settings change — Enable.
  • Remove query strings from static assets — Enable.
  • Disable cookies for static information — Allow.

23. What to Do with Safety Headers

By now, it is best to already know that there are specific settings in W3 Total Cache that have to be left alone.

Security headers are amongst those settings.

The choices you’ll find listed here are reserved for customers who’re well-versed in net improvement and safety. You possibly can modify your website’s HTTP Strict Transport Security coverage directive, enable X-XSS-Protection, and more.

Should you these terms are new to you, depart every thing beneath security headers to their default values.

Security Headers

Optimizing Consumer Agent, Referrer, and Cookie Teams

In W3 Total Cache, the “group” configuration pages must even be ignored by most non-developer, WordPress customers.

This consists of ‘User Agent Groups,’ ‘Referrer Groups,’ and ‘Cookie Groups.’

Groups Sections W3TC

There are, nevertheless, quite a lot of use instances for some group varieties which will have an effect on consumer experience.

24. Consumer Agent Groups for Personalization

Should you’re a complicated WordPress consumer, consumer agent groups can be utilized to redirect certain visitors to a special domain. You can even drive their browser to load a special theme in your WordPress website.

Suppose you created a gaggle for all of your cellular customers.

With consumer agent groups, you’ll be able to redirect them to a separate cellular model of your website. If not, chances are you’ll tell their browser to launch your website with a more mobile-friendly theme.

User Agents Group Sample

Simply proceed with caution and keep in mind to check your configuration to keep away from breaking your website.

Optimizing CDN Settings

Really feel such as you’ve been doing all the work?

Then I have some good news for you.

When you determine to use a CDN, your service provider ought to be prepared to assist with W3 Total Cache’s configuration.

In other phrases, you possibly can safely ignore all these settings and wait in your CDN vendor’s assistance.

CDN Settings Page

In case you are experiencing problems together with your CDN on SSL pages, then it’s only truthful to inform you a workaround.

25. The best way to Disable CDN on SSL Pages

Underneath the “Advanced” settings part, choose ‘Disable CDN on SSL pages.’ Affected pages should now load usually when you seek assistance from your CDN provider.

How to Disable CDN on SSL Pages

Optimizing Fragment Cache

The “Fragment Cache” settings page is one other space of W3 Total Cache that you need to skip.

This is very true for those who don’t have the Pro version of the plugin.

Fragment Cache Advanced Settings Page

26. Configuring the Fragment Caching Function

In case you paid for the plugin and want to use fragment caching, under are belongings you ought to remember:

  • Registered fragment groups — In case you are making an attempt to outline fragment groups for W3 Total Cache, they need to appear right here.
  • Default lifetime of cached fragments — The default worth is 180 seconds, however it can be increased when you have low visitors.
  • Rubbish collection interval — Hold this at 3,600 seconds (default) when you have a heavy-traffic website.
  • Guide fragment groups — Manually enter fragment groups here — don’t contact in the event you don’t know what you’re doing!

Utilizing Extensions for Scalability

Lastly, you must know that W3 Total Cache comes with a lot of pre-installed extensions.

WordPress customers must be right at house on the “Extensions” page. Without the W3 Total Cache emblem, it seems like a carbon copy of the “Plugins” web page on the dashboard.

This means activating and deactivating extensions includes a well-known process. You either click on the buttons on the bottom of every extension or carry out “bulk actions” utilizing the drop-down menu.

W3TC Extensions Page

Since there’s no good method to run your W3 Total Cache ecosystem, I’ll let you decide which extensions to activate.

27. Three Necessary W3 Total Cache Extensions for WordPress Websites

Under are a few of the most helpful W3 Total Cache extensions and what they do:

  • AMP — The AMP or Accelerated Cellular Pages undertaking helps web site house owners achieve buttery clean loading speeds on cellular. Enabling this extension will add AMP help to W3 Total Cache’s minify options.
  • Yoast Search engine marketing — When you rely on Yoast Web optimization for on-page optimization, activate this extension for the seamless integration of W3 Total Cache.
  • Genesis Framework by StudioPress — A number of WordPress customers leverage the Genesis Framework to construct Search engine optimization-friendly websites from scratch. Should you belong to this group of customers, allow this extension for a efficiency enchancment of 30 to 60 %.

Right here’s a remaining piece of advice: if you want to activate extensions, achieve this separately.

Identical to plugins, extensions might cause sudden points in your web site when lively. By enabling one extension at a time, you possibly can simply pinpoint the cause of potential points.


Conclusion

Configuring W3 Total Cache for optimal web site performance might take a while.

Don’t rush — you possibly can all the time bookmark and check with this page each time it’s essential to.

Keep in mind to check your website’s velocity as you incrementally make adjustments. When you’re at it, export your configuration as a backup in case it’s worthwhile to re-apply these settings.

Inform me about your experience with W3 Total Cache within the comments under!

You May Additionally Like:

  • 19 Straightforward Methods to Scale back Bounce Fee on Your Blog and Maximize Your Visitors
  • Every part About WordPress Plugins
  • 10 Greatest Social Sharing WordPress Plugins for Bloggers

The submit W3 Total Cache Settings To Supercharge Your Website’s Speed appeared first on Grasp Running a blog.