Autoptimize 2.9.2

Does Autoptimize work with WordPress 5.8.1 and PHP 7.4.8? A smoke test was performed on .

Summary

Errors
No PHP errors, warnings or notices
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Looks good! No problems were detected.
Performance

Memory usage: 139.87 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: insignificant.
The plugin didn't make the site noticeably slower.

Environment
WordPress version5.8.1
PHP version7.4.8
MySQL version8.0.21
PHP memory limit256M
Plugin Info
Last updated
Active installs 1,000,000+
WordPress.org page https://wordpress.org/plugins/autoptimize/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 9

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=autoptimize%2Fautoptimize.php&plugin_status=all&paged=1&s&_wpnonce=ec6817f173
Aspect after-activation
HTTP status 200
Load time 0.988 s
Memory usage 3.27 MiB
JS errors None
Resource errors None

Settings → Autoptimize

Page screenshot: Settings → Autoptimize
URL /wp-admin/options-general.php?page=autoptimize
Aspect menu-item
HTTP status 200
Load time 1.595 s
Memory usage 5.49 MiB
JS errors None
Resource errors None

Settings → Autoptimize → Images

Page screenshot: Settings → Autoptimize → Images
URL /wp-admin/options-general.php?page=autoptimize_imgopt
Aspect menu-item-tab
HTTP status 200
Load time 0.141 s
Memory usage 3.15 MiB
JS errors None
Resource errors None

Settings → Autoptimize → Critical CSS

Page screenshot: Settings → Autoptimize →  Critical CSS
URL /wp-admin/options-general.php?page=ao_critcss
Aspect menu-item-tab
HTTP status 200
Load time 0.833 s
Memory usage 3.27 MiB
JS errors None
Resource errors None

Settings → Autoptimize → Extra

Page screenshot: Settings → Autoptimize → Extra
URL /wp-admin/options-general.php?page=autoptimize_extra
Aspect menu-item-tab
HTTP status 200
Load time 0.160 s
Memory usage 3.14 MiB
JS errors None
Resource errors None

Settings → Autoptimize → Optimize More!

Page screenshot: Settings → Autoptimize → Optimize More!
URL /wp-admin/options-general.php?page=ao_partners
Aspect menu-item-tab
HTTP status 200
Load time 1.201 s
Memory usage 3.42 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.251 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Add New Post ‹ Test site — WordPress

Page screenshot: Add New Post ‹ Test site — WordPress
URL /wp-admin/post-new.php
Aspect new-meta-boxes
HTTP status 200
Load time 0.956 s
Memory usage 5.41 MiB
JS errors None
Resource errors None

Add New Page ‹ Test site — WordPress

Page screenshot: Add New Page ‹ Test site — WordPress
URL /wp-admin/post-new.php?post_type=page
Aspect new-meta-boxes
HTTP status 200
Load time 0.825 s
Memory usage 5.4 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.311 s0.263 s-0.048 s3.08 MiB3.23 MiB+ 146.5 KiB
/wp-admin/edit.php0.160 s0.188 s+0.028 s3.11 MiB3.32 MiB+ 211.87 KiB
/wp-admin/post-new.php0.783 s1.103 s+0.320 s5.27 MiB5.41 MiB+ 151.19 KiB
/wp-admin/upload.php0.516 s0.446 s-0.070 s3.03 MiB3.17 MiB+ 145.34 KiB
/wp-admin/options-writing.php0.245 s0.138 s-0.107 s3.02 MiB3.15 MiB+ 130.59 KiB
/wp-admin/media-new.php0.227 s0.200 s-0.027 s3.01 MiB3.15 MiB+ 146.45 KiB
/wp-admin/edit-tags.php?taxonomy=category0.201 s0.217 s+0.016 s3.04 MiB3.18 MiB+ 147.35 KiB
/wp-admin/post-new.php?post_type=page1.033 s0.929 s-0.104 s5.26 MiB5.4 MiB+ 146.8 KiB
/wp-admin/options-discussion.php0.254 s0.358 s+0.104 s3 MiB3.15 MiB+ 148.03 KiB
/wp-admin/edit-comments.php0.187 s0.289 s+0.102 s3.04 MiB3.18 MiB+ 145.38 KiB
/0.306 s0.291 s-0.015 s2.96 MiB2.97 MiB+ 19.04 KiB
Average 0.384 s0.402 s+0.018 s3.44 MiB3.57 MiB+ 139.87 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Language % Lines of code Comment lines Files
PHP94.4%9,5402,83437
CSS4.9%49593
JavaScript0.7%69112
HTML0.0%101
Total 10,105 2,854 43

PHP Code Analysis | More results »

Lines of code 8,851
Total complexity 2,140
Median class complexity 79.0
Median method complexity 3.0
Most complex class autoptimizeImages
Most complex function autoptimizeConfig::show_config()
Classes 25
Methods 345
Functions 10

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 4

Meta Boxes

{
    "post": {
        "ao_metabox": {
            "title": "Autoptimize this page",
            "context": "side"
        }
    },
    "page": {
        "ao_metabox": {
            "title": "Autoptimize this page",
            "context": "side"
        }
    }
}

PHP Error Log

The log file is empty.

See also: All tests for this plugin, How to Hide Autoptimize Admin Menus and Meta Boxes