• 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 Matt

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.

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

Recent Posts

  • How to Check the Version of WordPress on Your Site
  • How to Add an Amazon OneTag Script to the Footer in a Genesis Theme
  • How to Add Alt Text to an Image in a WordPress Post
  • How to Customize Your Sidebar with Live Preview in WordPress
  • How to Set a Static Home Page in WordPress

Site Info

  • Domain Name - Hostgator
  • Hosting - Cloudways
  • Theme Framework - Genesis
  • Child Theme - Smart Passive Income Pro

Archives

  • July 2020
  • September 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 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
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more about our privacy policy, see here: Privacy Policy

Copyright © 2021 AnswerYourTech.com