Minify and Defer JavaScript, CSS and HTML in WordPress | WordPress Training

Get every video in our WordPress training series in the Pro version: https://wp-tutoring.com/wordpress-training-videos-for-your-site

Turn on JavaScript, CSS, and HTML optimization in Autoptimize and learn how to save your changes and check the site. You will also learn how to fix a slider or form that breaks after optimizing.
This lesson covers defer, minify, and the exclusion box for scripts that cause problems.

Lesson 3 of 4 in Autoptimize: https://www.youtube.com/playlist?list=PLcgqVlnb_W1Q

Practice it hands-on: https://app.wp-tutoring.com/lessons/ao3-01-03-javascript-css-html-optimization

Chapters:
0: 00 Intro
0: 53 Open Autoptimize
1: 04 Optimize JavaScript
1: 54 Optimize CSS and HTML
3: 51 Save and verify
4: 25 Recover a broken script
5: 17 Wrap-up & next steps

Official docs:
Autoptimize documentation: https://wordpress.org/plugins/autoptimize/

Recorded on WordPress 7.2.

More free WordPress training: https://wp-tutoring.com/tutorials

WP Tutoring has taught WordPress one-on-one to individuals and businesses since 2013. Book a live session: https://wp-tutoring.com/pricing

Copyright & disclaimer

These training videos, their narration, chapters and course materials are © 2026 ByRivers Tech LLC (d/b/a WP Tutoring). All rights reserved. They may not be copied, downloaded, recorded or redistributed.

Watching these videos constitutes agreement with the WP Tutoring Training Disclaimer and Terms of Service.

WP Tutoring is not affiliated with, endorsed by or sponsored by the WordPress Foundation, WordPress.org or Automattic Inc. WordPress and all themes, plugins, code and trademarks shown in these videos are the property of their respective owners (Trademark notice).

These videos are for educational purposes only and are not professional advice. Software changes, so steps may be out of date. Always back up your site and test on a staging copy first. You assume all risk of applying anything shown.

Affiliate disclosure: The discount and offer links on these courses (marked “Discounts & offers” or similar) are affiliate links. If you buy through one, WP Tutoring may earn a commission, at no extra cost to you.

Terms of Service, Training Disclaimer and Trademark notice: https://app.wp-tutoring.com/legal/terms

#WordPress #WordPressTraining #Autoptimize