News W3 Total Cache WordPress WordPress Plugins WordPress Tutorials

Supercharge Your Website’s Speed: 27 Steps for W3 Total Cache Optimal Settings

W3 Total Cache Plugin Page

You learn that title right. 

This publish is a few particular WordPress plugin that each blogger should have beneath their toolbelt.

I’m talking about W3 Complete Cache — an all-in-one web site optimization plugin. 

Should you use WordPress, learn on to learn how to make use of W3 Complete Cache to supercharge your website’s performance. 

Table Of Contents

  • 1. Introduction
  • 2. Optimizing Your Common Settings
  • 3. W3 Complete Cache Optimal Settings: Web page Caching
  • 4. Optimizing Minify Settings
  • 5. Optimizing Database Cache
  • 6. Optimizing Object Cache
  • 7. Optimizing Browser Cache
  • 8. Optimizing Consumer Agent, Referrer, and Cookie Teams
  • 9. Optimizing Fragment Cache
  • 10. Utilizing Extensions for Scalability
  • 11. Conclusion

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


What is W3 Complete Cache?

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

Not only will it significantly enhance the consumer expertise, it’ll also allow you to attain larger search engine rankings.

W3 Complete Cache makes website efficiency optimization a stroll within the park. It has all of the options you will ever want for almost all of factors that affect loading velocity. 

Identical to every different WordPress plugin on the market, putting in W3 Complete Cache is step one. 

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 great take a look at a number of the plugin’s key options. You may also carry out quick actions like a WordPress compatibility verify and cache emptying.

W3 Total Cache Quick Actions

In fact, the W3 Complete Cache dashboard page is simply the start.

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


Optimizing Your Basic Settings

Like most WordPress bloggers, the “Basic Settings” page might be the primary part you’ll verify.

Luckily, that’s additionally where W3 Complete Cache’s core options may be enabled, specifically:

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

Before we go any further, web page caching — along with lots of W3 Complete Cache’s options — are already defined in this submit. Doing so ought to offer you a extra detailed rationalization of all methods that might be talked about afterward. 

Now that we obtained that out of the best way, page caching could be enabled with W3 Complete Cache in literally two clicks. 

Just select the ‘Enable’ checkbox beneath the “Page Cache” part and click on ‘Save all settings.’

Enabling Page Cache in General Settings

Web site caching works by enabling browsers to briefly save your website’s knowledge. This enables them to immediately fetch your content on the consumer’s subsequent go to.

What concerning the different settings? 

The great thing about using W3 Complete Cache is that the majority options ought to work nicely right out of the box. Nevertheless, there are W3 Complete Cache optimum settings to be aware of. 

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

‘Opcode’ caching, nevertheless, have to be chosen in the event you improve to a dedicated server. For many who use cloud internet hosting, then ‘Memcached’ must be your page cache technique. 

Page Caching Methods

2. Minifying Your Code for Lower Bandwidth Utilization

Code minification is another W3 Complete Cache function that would give your website’s performance a simple increase.

Understand that your website’s codesconsume bandwidth to be loaded into net browsers. This consists of CSS, HTML, JavaScript, and so on. 

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

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

Easy methods to do minification the old-school approach

With minification, unnecessary code parts like feedback, whitespaces, and line breaks are stripped removed. 

Need to do it manually? 

Positive, for those who’re ready to stare in front of your pc for days or even weeks on end.

As an alternative, use a software like Minify Code to mechanically minify any code you upload. 

Minify Code

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

Doing it with W3 Complete Cache

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

Minify Page Cache Settings

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

In the event you’re serious about Cloudflare, I’m pleased to inform you that they do supply a free answer. 

This allows you to benefit from a worldwide CDN, primary DDoS safety, and a free SSL certificate. 

Cloudflare Plans and Pricing

3. Utilizing Other Website Caching Methods 

Aside from the essential page cache mentioned above, you may also 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 might be discovered immediately under the minify part.

Additional Site Caching Methods

Under are the precise methods to use each caching choice:

  • Opcode Cache — Opcode caching works by decreasing PHP code blocks in your web site. It’s solely out there when you have W3 Complete Cache Pro.
  • Database Cache — For those who use virtual internet hosting or a Content material Delivery 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 decelerate your WordPress admin space, object caching is advisable for dynamic web sites. These are sites that permit customers change or add content material, comparable to discussion board posts, purchasing carts, and other customizable parts. 
  • Browser Cache —Out of all of the caching choices, browser caching is the one you need to allow it doesn’t matter what. It makes use of the assets of your guests’ computers, so it gained’t negatively have an effect on your website underneath normal circumstances.

four. Updating Your CDN Settings

Following the extra caching settings is the “CDN” section. 

In simple phrases, a CDN works by leveraging a community of proxy servers distributed across multiple areas. Latency is then significantly lowered by letting customers obtain your website’s knowledge from the closest server. 

To a degree, CDNs also supply safety towards DDoS or Distributed Denial of Service assaults. 

So…does that imply W3 Complete Cache will give me a CDN?

Sadly, enabling the CDN choice on W3 Complete Cache doesn’t imply you’ll routinely obtain these advantages.

W3 Total Cache General CDN Settings

The factor 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’ll be able to view extra options by studying this listing of free CDN providers for WordPress blogs. 

When you use a CDN, then you must click on ‘Allow’ on W3 Complete Cache’s basic settings page. 

You then have to choose the appropriate “CDN Sort” from the drop-down menu to match your CDN provider.

Finding Your CDN

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

Because of the recognition of W3 Complete Cache, your CDN provider can most likely help you in the configuration process.

Cloudflare users, for example, need to use the official extension in an effort to use W3 Complete Cache with their CDN. 

Cloudflare W3 Total Cache Extension

For different CDN service providers, the “Generic Mirror” choice will more than likely be used.

In any case, further setup is important when establishing your CDN with W3 Complete Cache. We’ll explore this process later with somewhat extra element.

5. Understanding Additional Settings

One of the explanation why W3 Complete Cache is so common is its comprehensiveness. 

In addition to the settings outlined above, it additionally has advanced instruments that take efficiency optimization to the subsequent degree. 

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

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

Reverse Proxy

Right 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 updated. 

If these phrases are unfamiliar to you, likelihood is you don’t need to make use of them but. 

Varnish Cache is an software accelerator that mainly utilized by giant sites and APIs. Once put in in your server, it independently performs caching on your web site’s content material for enormous velocity boosts. 

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

Reverse Proxy Settings

To put things in perspective, Varnish is used 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 one other function that the majority W3 Complete Cache users ignore.  

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

For those who use New Relic, then you must configure your API key here.

Fragment Cache

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

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

First, implementing it may be tough.

The “Fragment Cache” part of W3 Complete Cache’s common settings web page will assist with the first step of deployment. 

After you choose a fragment cache technique, you also need to define “fragment teams” in your PHP codes. This can be a process for a developer, however if you want to study, start with this page from W3 Edge.

Fragment Cache Method

Apart from the difficult configuration course of, fragment caching also requires you to buy W3 Complete Cache Professional.

This takes us to the subsequent function you need to find out about.

Licensing

In case you have upgraded to W3 Complete Cache Pro, you possibly can enter your key on the “Licensing” section. When executed, click on ‘Confirm license key’ to activate your copy in your current WordPress installation. 

Where to Put Your License Key

That reminds me, we haven’t talked about the benefits of W3 Complete Cache Professional yet. 

We’ve already coated fragment caching, which is likely one of the 4 promoting points of W3 Complete Cache Professional:

Benefits of W3 Total Cache Pro

Miscellaneous Settings

W3 Complete Cache’s flexibility is in full show with the “Miscellaneous” part on the overall settings web page. 

At the very prime is the ‘Allow Google Web page Velocity Dashboard Widget’ choice. 

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

Enable Google PageSpeed Insights on Dashboard

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

With the function above, it’s easier to tweak W3 Complete Cache since your velocity score is up to date in real time. 

When you don’t know where to get your PageSpeed Insights API key, check with this documentation from Google. 

With PageSpeed Insights integrated, you might also enable the ‘Present web page score in admin bar’ choice. It will make your web site’s velocity score instantly visible in your WordPress dashboard.

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

As the description implies, it’ll provide you with a warning each time your rewrite rules have issues in your .htaccess file.  

Verify Rewrite Rules Option

Enabling this feature won’t have any uncomfortable side effects in your web site’s performance, so it’s greatest to go away it on. It will aid you keep the integrity of your website’s code. 

Shifting on, the ‘Allow file locking’ choice prevents multiple customers or processes to entry the identical file concurrently.  

W3 Complete Cache recommends protecting this feature disabled for NFS techniques along with web sites operating on shared internet hosting. 

Enable File Locking

Maybe the only state of affairs the place file locking is beneficial is on very busy websites the place entry conflicts are plausible. Even then, it might not end in any perceptible efficiency good points. 

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

In case your net host is NFS-based, think about enabling ‘Optimize disk enhanced page and minify disk caching for NFS.’ This could result in an honest improve in web site performance, but you’ll need to see for yourself if it works. 

Optimize Disk Enhanced Page

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

With ‘Anonymously monitor usage to improve product quality’ enabled, you grant W3 Complete Cache to trace your plugin utilization. Helpful for those who care concerning the plugin’s improvement, however plenty of bloggers would like this to be off.

‘Allow caching statistics,’ then again, might be helpful for those who’re into fine-tuning W3 Complete Cache over time. 

Additional Miscellaneous Settings

6. Debugging Settings  

For those who plan to make use of caching statistics, it is sensible so that you can use debugging settings as nicely. 

Debug modes will generate in-depth information about certain 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 because your website has to put in additional work to trace W3 Complete Cache features. 

That stated, debugging ought to be achieved on a short-term foundation and disabled once you’ve worked out all the problems.

7. Importing and Exporting W3 Complete Cache Configurations

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

With what you’ve read thus far, can you continue to say the same thing?

In all probability not. 

In reality, configuring W3 Complete Cache might take hours if you would like it tailor-made to your website’s needs. 

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

To import plugin configuration from an outdoor source, click ‘Select File,’ discover the HTML or .json document, and click on ‘Add.’ Consider it or not, there are literally WordPress blogs on the market that can help you obtain their plugin configuration. 

Import and Export Settings

If it’s worthwhile to export your plugin settings as a backup, merely click on ‘Obtain’ subsequent to “Export configuration.”

How to Export Your W3TC Settings

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

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

Simply click on ‘Restore Default Settings’ and you’re golden. 


W3 Complete Cache Optimum Settings: Page Caching

Once you’re accomplished with the overall settings of W3 Complete Cache, it’s time for the superior web page caching choices.

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

A phrase of recommendation: you will encounter a number of technical terms for the remainder of this submit. That stated, try to hold a separate tab open so you possibly can seek for their definitions.

However in your convenience, I listed down the optimum configuration for most WordPress blogs. All that’s left to do is copy these settings and apply it on W3 Complete Cache. 

Ready? The press on ‘Web page Cache’ from the “Performance” sub-menu to get began. 

Access Page Cache Settings from Dashboard

8. Choosing the Proper Common Options

For page caching, under are the optimum W3 Complete Cache settings you must use on your WordPress website: 

Page Cache Optimal Settings

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

9. Configuring Aliases

In the event you don’t even know what aliases are, then don’t touch anything underneath the “Aliases” section. 

On the earth of webhosting, an alias is a separate area that points to the same WordPress installation. That is one thing that one-man bloggers not often do, so be happy to ignore this section. 

In any other case, you must already know what to do subsequent: 

Aliases Field

10. Utilizing Cache Preloading 

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

Sure — that features first-time visitors. 

Listed here are the most effective settings for cache preloading:

Cache Preloading Settings

  • Routinely prime the page cache — Enable.
  • Replace interval — 900 seconds.
  • Pages per interval — 10 pages.
  • Sitemap URL — Simply paste the URL of your sitemap. Study more about sitemaps by studying this submit. 
  • Preload the publish cache upon publish events — Allow.

11. Setting Your Cache Purging Coverage

Purging caches makes positive users can view the newest modifications in your web site. 

By setting a purge coverage, you set this course of on autopilot every time any of the next happens:

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

To create a purge policy that gained’t affect your website’s efficiency, use the next settings:

Purge Policy

  • Pages to cache — Entrance web page, posts page, submit page, and blog feed.
  • Specify the feed varieties to purge — Rss2 (default).
  • Purge restrict — 15 or more when you’ve got a higher-end server. 
  • Further pages — Clean.
  • Purge sitemaps — Maintain the default common expression value.

12. Managing the REST API

If in case you have W3 Complete Cache Pro and use RESTful API, chances are you’ll benefit from the REST API caching software. 

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

Let me guess — you’re nowhere close to 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. Advanced Web page Cache Settings

W3 Complete Cache has an extended record of advanced settings for page caching. 

Naturally, there are a plethora of the way to configure these settings based mostly on your web site’s necessities. However for many bloggers, the settings under should 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 page cache. 
  • Reject HEAD requests — Depart to default. 
  • Rubbish collection interval — 3,600 seconds if caching to disk (otherwise, this feature shall be greyed out).
  • Remark cookie lifetime — 1,800 seconds 
  • Accepted question strings — Clean. 
  • Rejected consumer agents — Blank.  
  • Rejected cookies — wptouch_switch_toggle(default).
  • Never cache the following pages — wp-.*.phpand index.php(default.)
  • By no means cache pages related to these categories — Blank.
  • By no means cache pages that use these tags — Blank. 
  • By no means cache pages by these authors — Clean.
  • By no means cache pages that use these customized fields — Clean. 
  • Cache exception listing — Add pages which have points with caching. 
  • Non-trailing slash pages — Maintain the default pages.
  • Specify page headers — Maintain the default settings. 
  • Deal with XML mime sort — Allow.

Optimizing Minify Settings

Again, should you use Cloudflare, there’s no need to switch the W3 Complete Cache code minification settings. 

On the ‘Minify’ web page, you possibly can control 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 web page:

14. Basic Settings

On the subject of minification, you don’t have to make any modifications in the basic settings. But that doesn’t imply we shouldn’t evaluate the perfect code minification settings of W3 Complete Cache.

Minify General Settings

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

15. HTML & XML Minification 

By default, W3 Complete Cache won’t minify inline CSS and JavaScript information on your web site’s HTML. You possibly can allow these choices to enhance your website’s performance.

HTML & XML Minification Settings

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

16. JS Minification Settings

Whereas 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 making use of the next settings: 

JS Minification Settings

  • JS minify settings — Allow whereas selecting “Minify” over “Combine only.”
  • Operations in areas (Before) — Non-blocking using “defer.”
  • Operations in areas (After) — Non-blocking utilizing “defer.”
  • Preserved remark removing — Allow.
  • Line break removing — Allow.
  • HTTP/2 push — Allow except 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 few further settings to enable if you would like a fluid web site.

CSS Minification Settings

  • CSS minify settings — Enable with “Mix solely” selected.
  • @import dealing with — None. 
  • HTTP/2 Push — Enable. 

18. Superior Minification Settings

As icing on the cake, use the choices under on the “Advanced” section. 

Advanced Code Minification Settings

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

Optimizing Database Cache

Your web site consists of loads of elements that have to be fetched and loaded each time they’re needed. 

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

Here’s the first thing it is best to do. When you’re not utilizing a CDN or a virtual host, enable ‘Don’t cache queries for logged in customers.’ 

Don't Cache Queries for Logged In Users

19. Advanced Database Caching Settings

For the advanced settings, here’s what it is best to do:

Advanced Database Caching Settings

  • Most lifetime of cached objects — 180 seconds for high-traffic sites, up to 7,200 seconds for low-traffic websites.
  • Garbage collection interval — Anyplace between three,600 and 86,400 seconds (if the option is just not greyed out).
  • Never cache the following pages — Depart empty. 
  • Ignored query stems — Depart the default values or add “wc-session” for those who use WooCommerce.
  • Reject query words — Depart to default.
  • Reject constants — Depart to default.

Optimizing Object Cache

Object caching is another approach to scale back the CPU utilization of loading your website.  

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

20. Superior Object Caching Settings

Dynamic web sites reside by database and object caching to remain fast and responsive. You just need to apply these optimum settings: 

Advanced Object Cache Settings

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

Optimizing Browser Cache

Although database and object caching are both optionally available, browser caching must be enabled for each WordPress website.

It allows net browsers to store static website information like pictures, textual content, and codes for fast retrieval. 

Like code minification, browser caching also has an in depth record of choices. 

Under is a rundown of each section:

21. Basic Settings

As a rule of thumb, enable the primary six choices on the “Common” section of the browser cache configuration web page:

Browser Caching General Settings

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

Need to know one thing fun?

Most of those are browser caching features you can check on GTmetrix — a free web site efficiency evaluation device. 

You need to use GTmetrix when you configure W3 Complete Cache to verify certain caching options. For the ones listed above, they need to seem on the ‘YSlow’ tab of the analysis report.

YSlow Results on GTmetrix

Beyond the first six options, there are other issues you need to handle on the browser caching configuration web page:

Browser Cache General Settings

  • Allow HTTP (brotli) compression — Enable this feature if obtainable and check if it outperforms gzip compression. 
  • Forestall caching of objects after settings change — Allow.
  • Take away question strings from static assets — Allow.
  • Forestall caching exception record — 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 keep your WordPress web site in tip-top shape, it’s suggested to go away these settings as they are. 

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

CSS & JS Settings for Browser Caching

  • Set Last-Modified header — Enable. 
  • Set expires header — Enable.
  • Expires header lifetime — three,600 seconds for HTML & XML, 31,536,000 seconds (one yr) for the other two.
  • Set cache management header — Enable.
  • Cache control coverage — Depart to default (cache with max-age).
  • Set entity title tag — Allow.
  • Set W3 Complete Cache header — Allow.
  • Enable HTTP (gzip) compression — Enable.
  • Allow HTTP (brotli) compression — Similar as earlier than.
  • Forestall caching of objects after settings change — Allow. 
  • Take away question strings from static assets — Enable.
  • Disable cookies for static information — Allow.

23. What to Do with Security Headers

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

Safety headers are amongst these settings. 

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

In the event 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 Groups

In W3 Complete Cache, the “group” configuration pages should also be ignored by most non-developer, WordPress users. 

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

Groups Sections W3TC

There are, nevertheless, numerous use instances for some group varieties which will have an effect on consumer expertise. 

24. Consumer Agent Teams for Personalization

In the event you’re a complicated WordPress consumer, consumer agent groups can be utilized to redirect sure visitors to a unique domain. You possibly can even pressure their browser to load a unique theme on your WordPress website. 

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

With consumer agent groups, you possibly can redirect them to a separate cellular version of your website. If not, chances are you’ll tell their browser to launch your website with a extra mobile-friendly theme.

User Agents Group Sample

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

Optimizing CDN Settings

Feel like you’ve been doing all of the work?

Then I’ve some excellent news for you.

Should you determine to make use of a CDN, your service provider must be prepared to help with W3 Complete Cache’s configuration.

In other phrases, you’ll be able to safely ignore all these settings and wait in your CDN vendor’s assistance.

CDN Settings Page

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

25. The way to Disable CDN on SSL Pages

Underneath the “Advanced” settings section, choose ‘Disable CDN on SSL pages.’ Affected pages should now load normally when you seek help out of your CDN provider.

How to Disable CDN on SSL Pages

Optimizing Fragment Cache 

The “Fragment Cache” settings page is another space of W3 Complete Cache that it is best to skip. 

This is especially true in case you 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 teams — In case you are making an attempt to outline fragment groups for W3 Complete Cache, they should appear here. 
  • Default lifetime of cached fragments — The default value is 180 seconds, but it may be increased if in case you have low visitors. 
  • Garbage collection interval — Maintain this at 3,600 seconds (default) when you have a heavy-traffic website. 
  • Guide fragment teams — Manually enter fragment groups right here — don’t touch should you don’t know what you’re doing!

Using Extensions for Scalability

Lastly, you must know that W3 Complete Cache comes with numerous pre-installed extensions.

WordPress users must be proper at house on the “Extensions” page. Without the W3 Complete Cache emblem, it seems like a carbon copy of the “Plugins” page on the dashboard.

This implies activating and deactivating extensions includes a well-known process. You both click on the buttons on the backside of each extension or carry out “bulk actions” utilizing the drop-down menu.

W3TC Extensions Page

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

27. Three Necessary W3 Complete Cache Extensions for WordPress Websites

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

  • AMP — The AMP or Accelerated Cellular Pages undertaking helps web site house owners obtain buttery clean loading speeds on cellular. Enabling this extension will add AMP help to W3 Complete Cache’s minify options.
  • Yoast Web optimization — When you rely on Yoast Search engine optimisation for on-page optimization, activate this extension for the seamless integration of W3 Complete Cache. 
  • Genesis Framework by StudioPress — Plenty of WordPress users leverage the Genesis Framework to assemble Search engine optimization-friendly web sites from scratch. In the event you belong to this group of customers, enable this extension for a performance improvement of 30 to 60 %.          

Here’s a last piece of recommendation: if you want to activate extensions, achieve this one by one.

Identical to plugins, extensions might trigger sudden issues in your web site when lively. By enabling one extension at a time, you’ll be able to easily pinpoint the cause of potential issues. 


Conclusion

Configuring W3 Complete Cache for optimal web site efficiency might take some time. 

Don’t rush — you possibly can all the time bookmark and seek advice from this web page every time you must. 

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

Tell me about your experience with W3 Complete Cache in the comments under!

You May Also Like:

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

The submit Supercharge Your Website’s Velocity: 27 Steps for W3 Complete Cache Optimum Settings appeared first on Master Running a blog.