• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Answer Your Tech

Wordpress How-to Guides

  • Writing
  • Settings
  • Jetpack
  • Navigation
  • Hosting
  • Getting Started
  • Themes
You are here: Home / Hosting / How to Enable Auto Minify for Javascript, CSS or HTML in Cloudflare

How to Enable Auto Minify for Javascript, CSS or HTML in Cloudflare

April 9, 2019 By Matthew Burleigh

How to Enable Auto Minify for Javascript, CSS or HTML in Cloudflare

The Cloudflare service that you can use for your website includes a lot of settings and tools that can make your website faster and more secure. Since speed is an important factor for getting your website’s pages to rank well, you may eventually start looking for ways to optimize it.

One of the ways that you can make your site load a little faster is to minify your Javascript, CSS, and HTML. Minifying your code involves removing characters in the code that are required for it to execute properly. While some WordPress plugins can do this, you can also take advantage of it if you have set up your site with Cloudflare. Our guide below will show you where to find this setting for your site on Cloudflare.

How to Turn on Auto Minify in Cloudflare

The steps in this guide assume that you have already set up your site with Cloudflare. If not, check out our guide for getting set up with Cloudflare.

Note that enabling auto-minify can cause certain elements of your site to stop functioning properly. If you enable it then notice that something is wrong with your site, you may need to come back to this menu and disable one or all of the auto-minify options.

Step 1: Head over to https://www.cloudflare.com and sign into your account.

Step 2: Click on the site for which you would like to enable the auto-minify option.

select the site to edit

Step 3; Choose the Speed option at the top of the window.

open the speed menu

Step 4: Check the boxes to the left of whichever auto-minify options you wish to enable.

how to enable auto minify in cloudflare

Find out how to use the purge cache option in Cloudflare to delete the cache that is currently stored for your site.

Matthew Burleigh
Matthew Burleigh

Matt has been working with WordPress and creating content using this powerful content management system for years. While he has written about many other tech topics, WordPress is one of his favorites.

You can read his full bio here.

Join Our Free Newsletter

WordPress guides and deals

You may opt out at any time.
Read our Privacy Policy

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Pinterest (Opens in new window)

Related

Primary Sidebar

Join Our Free Newsletter

WordPress guides and deals

You may opt out at any time.
Read our Privacy Policy

Recent Posts

  • How to Add a TXT DNS Record in Cloudflare
  • How to Enable or Disable User Registration in WordPress
  • How to Install and Configure the WP Rocket Plugin
  • How to Make WordPress Not Organize my Uploads into Month and Year-Based Folders
  • How to Turn on Cloudflare Hotlink Protection

Site Info

  • Domain Name - Hostgator
  • Hosting - Cloudways
  • Theme Framework - Genesis
  • Child Theme - Smart Passive Income Pro
  • Site Speed - WP Rocket

Archives

  • November 2022
  • October 2022
  • May 2022
  • July 2020
  • September 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • July 2018
  • December 2016
  • November 2016

Categories

  • Comments
  • Genesis
  • Getting Started
  • Hosting
  • Jetpack
  • Navigation
  • Plugins
  • Settings
  • Sidebar
  • Themes
  • Writing
  • Affiliate Disclosure
  • Privacy Policy
  • FAQ
  • About
  • Contact

Copyright © 2023 AnswerYourTech.com

 

Loading Comments...
 

You must be logged in to post a comment.