In this section of the guide to the WP Rocket plugin, we will show you how to configure the Advanced Options which includes Prefetch DNS Requests, and File Minimifaction and more!
Step 1) Login to the WordPress Dashboard.
Step 2) From the left-hand sidebar of the Dashboard, navigate to Settings -> WP Rocket -> Advanced Options.
Step 3) Complete the fields as outlined below:
|A.||Prefetch DNS requests:||DNS prefetching is a way for browsers to anticipate the DNS resolution of external domains from your site. This reduces the latency of some external files.
To learn more about this option and how to use it correctly, we recommend you watch this video.
|B.||Empty the cache of the following pages when updating a post:||Enter the full URL of additional pages to purge when updating a post (one per line). You can use regular expressions (regex).
|C.||Never cache the following pages:||Enter the full URL of pages to reject (one per line). You can use regular expressions (regex).|
|D.||Don’t cache pages that use the following cookies:||List the names of the cookies (one per line).|
|E.||Cache pages that use the following query strings (GET parameters):||Enter a list of query strings which can be cached (one per line).|
|F.||CSS files to exclude from minification:||Enter the URL of CSS files to reject (one per line).|
|G.||JS files to exclude from minification:||Enter the URL of JS files to reject (one per line).|
|H.||JS files to be included in the footer during the minification process||To add JS files for this option, perform the following steps:
To add JS files for this option, perform the following steps:
Place a checkmark in the Wait until this file is loaded? checkbox if you want this option enabled.
Step 4) Click the Save Changes button to save any changes.
The next step of the guide will focus on How to Configure the WP Rocket CDN Options.