Autoptimize 2.9.0

Does Autoptimize work with WordPress 5.8 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: 137.69 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
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 7

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=d713bca566
Aspect after-activation
HTTP status 200
Load time 0.962 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.064 s
Memory usage 5.48 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.181 s
Memory usage 3.14 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.775 s
Memory usage 3.25 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.168 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.073 s
Memory usage 3.43 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.310 s
Memory usage 2.98 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.399 s0.374 s-0.025 s3.08 MiB3.22 MiB+ 140.2 KiB
/wp-admin/edit.php0.180 s0.315 s+0.135 s3.11 MiB3.31 MiB+ 205.57 KiB
/wp-admin/post-new.php1.175 s0.946 s-0.229 s5.27 MiB5.4 MiB+ 140.78 KiB
/wp-admin/upload.php0.652 s0.520 s-0.132 s3.03 MiB3.16 MiB+ 139.04 KiB
/wp-admin/options-writing.php0.195 s0.194 s-0.001 s3.02 MiB3.14 MiB+ 124.29 KiB
/wp-admin/media-new.php0.240 s0.294 s+0.054 s3.01 MiB3.14 MiB+ 140.15 KiB
/wp-admin/edit-tags.php?taxonomy=category0.204 s0.235 s+0.031 s3.04 MiB3.18 MiB+ 141.05 KiB
/wp-admin/post-new.php?post_type=page1.211 s0.920 s-0.291 s5.26 MiB5.39 MiB+ 136.4 KiB
/wp-admin/options-discussion.php0.383 s0.316 s-0.067 s3 MiB3.14 MiB+ 141.73 KiB
/wp-admin/edit-comments.php0.227 s0.365 s+0.138 s3.04 MiB3.18 MiB+ 139.09 KiB
/0.311 s0.228 s-0.083 s2.91 MiB2.97 MiB+ 66.3 KiB
Average 0.471 s0.428 s-0.043 s3.43 MiB3.57 MiB+ 137.69 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.3%9,2922,80637
CSS5.0%49593
JavaScript0.7%69112
HTML0.0%101
Total 9,857 2,826 43

PHP Code Analysis | More results »

Lines of code 8,635
Total complexity 2,054
Median class complexity 65.0
Median method complexity 3.0
Most complex class autoptimizeImages
Most complex function autoptimizeConfig::show_config()
Classes 25
Methods 340
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

PHP Error Log

The log file is empty.

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