Autoptimize 2.8.4

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: 135.09 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.121 seconds
The average page load time increased by this amount after activating the plugin.

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=c28762ffcd
Aspect after-activation
HTTP status 200
Load time 1.136 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.769 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.344 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 1.017 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.184 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.273 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.327 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.341 s0.431 s+0.090 s3.08 MiB3.22 MiB+ 137.38 KiB
/wp-admin/edit.php0.191 s0.230 s+0.039 s3.11 MiB3.31 MiB+ 202.75 KiB
/wp-admin/post-new.php1.141 s2.090 s+0.949 s5.27 MiB5.4 MiB+ 137.96 KiB
/wp-admin/upload.php0.657 s0.527 s-0.130 s3.03 MiB3.16 MiB+ 136.22 KiB
/wp-admin/options-writing.php0.215 s0.168 s-0.047 s3.02 MiB3.14 MiB+ 121.47 KiB
/wp-admin/media-new.php0.255 s0.294 s+0.039 s3.01 MiB3.14 MiB+ 137.33 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.192 s-0.004 s3.04 MiB3.17 MiB+ 138.23 KiB
/wp-admin/post-new.php?post_type=page1.327 s1.560 s+0.233 s5.26 MiB5.39 MiB+ 133.58 KiB
/wp-admin/options-discussion.php0.301 s0.439 s+0.138 s3 MiB3.14 MiB+ 138.91 KiB
/wp-admin/edit-comments.php0.218 s0.236 s+0.018 s3.04 MiB3.18 MiB+ 136.27 KiB
/0.297 s0.299 s+0.002 s2.91 MiB2.97 MiB+ 65.91 KiB
Average 0.467 s0.588 s+0.121 s3.43 MiB3.57 MiB+ 135.09 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.0%8,9142,73036
CSS5.2%49593
JavaScript0.7%69112
HTML0.0%101
Total 9,479 2,750 42

PHP Code Analysis | More results »

Lines of code 8,280
Total complexity 1,963
Median class complexity 66.0
Median method complexity 3.0
Most complex class autoptimizeImages
Most complex function autoptimizeConfig::show_config()
Classes 24
Methods 327
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