LWS Optimize 3.1.7.2

Does LWS Optimize work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
27Unrecognized messages in the PHP error log
1JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 180.92 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 version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 10,000+
WordPress.org page https://wordpress.org/plugins/lws-optimize/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

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=lws-optimize%2Flws-optimize.php&plugin_status=all&paged=1&s&_wpnonce=d7b536da77
Aspect after-activation
HTTP status 200
Load time 0.308 s
Memory usage 3.66 MiB
JS errors None
Resource errors None

LWS Optimize

Page screenshot: LWS Optimize
URL /wp-admin/admin.php?page=lws-op-config
Aspect menu-item
HTTP status 200
Load time 0.731 s
Memory usage 3.92 MiB
JS errors
[
    {
        "message": "TypeError: Cannot read properties of null (reading 'addEventListener')\n    at /wp-admin/admin.php?page=lws-op-config:1104:67",
        "trace": null,
        "code": null
    }
]
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.224 s
Memory usage 3.51 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.402 s0.323 s-0.079 s3.47 MiB3.65 MiB+ 183.21 KiB
/wp-admin/edit.php0.227 s0.219 s-0.008 s3.54 MiB3.71 MiB+ 177.48 KiB
/wp-admin/post-new.php0.886 s0.633 s-0.253 s5.75 MiB5.94 MiB+ 196.97 KiB
/wp-admin/upload.php0.608 s0.346 s-0.262 s3.49 MiB3.65 MiB+ 160.51 KiB
/wp-admin/options-writing.php0.222 s0.211 s-0.011 s3.41 MiB3.63 MiB+ 223.31 KiB
/wp-admin/media-new.php0.265 s0.465 s+0.200 s3.4 MiB3.63 MiB+ 236.7 KiB
/wp-admin/edit-tags.php?taxonomy=category0.196 s0.193 s-0.003 s3.47 MiB3.65 MiB+ 183.49 KiB
/wp-admin/post-new.php?post_type=page0.637 s0.606 s-0.031 s5.75 MiB5.93 MiB+ 188.34 KiB
/wp-admin/options-discussion.php0.232 s0.270 s+0.038 s3.41 MiB3.63 MiB+ 225 KiB
/wp-admin/edit-comments.php0.237 s0.227 s-0.010 s3.49 MiB3.65 MiB+ 160.5 KiB
/0.320 s0.223 s-0.097 s3.45 MiB3.51 MiB+ 54.59 KiB
Average 0.385 s0.338 s-0.047 s3.88 MiB4.05 MiB+ 180.92 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
CSS
SVG
Language % Lines of code Comment lines Files
PHP55.4%8,0873,60919
CSS22.9%3,3401163
SVG14.9%2,16990102
PO File6.3%9161581
JavaScript0.6%8401
JSON0.1%1001
Total 14,606 3,973 127

PHP Code Analysis | More results »

Lines of code 6,386
Total complexity 1,199
Median class complexity 88.0
Median method complexity 6.0
Most complex class LwsOptimize
Most complex function FileCache::callback()
Classes 7
Methods 129
Functions 47

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 1

PHP Error Log 54 lines

[15-Oct-2024 14:06:46 UTC] 
[15-Oct-2024 14:06:46 UTC] /wp-content/cache/lwsoptimize/cache/
[15-Oct-2024 14:06:49 UTC] 
[15-Oct-2024 14:06:49 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/block-patterns/categories?_locale=user/
[15-Oct-2024 14:06:49 UTC] 
[15-Oct-2024 14:06:49 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/?_fields=description,gmt_offset,home,name,site_icon,site_icon_url,site_logo,timezone_string,url&_locale=user/
[15-Oct-2024 14:06:49 UTC] 
[15-Oct-2024 14:06:49 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/block-patterns/patterns?_locale=user/
[15-Oct-2024 14:06:49 UTC] 
[15-Oct-2024 14:06:49 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/blocks?context=edit&per_page=100&_locale=user/
[15-Oct-2024 14:06:49 UTC] 
[15-Oct-2024 14:06:49 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/?_fields=description,gmt_offset,home,name,site_icon,site_icon_url,site_logo,timezone_string,url&_locale=user/
[15-Oct-2024 14:06:49 UTC] 
[15-Oct-2024 14:06:49 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/posts?_locale=user/
[15-Oct-2024 14:06:49 UTC] 
[15-Oct-2024 14:06:49 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/posts/39?_locale=user/
[15-Oct-2024 14:06:49 UTC] 
[15-Oct-2024 14:06:49 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/settings?_locale=user/
[15-Oct-2024 14:06:49 UTC] 
[15-Oct-2024 14:06:49 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/users?context=view&who=authors&per_page=50&_fields=id,name&_locale=user/
[15-Oct-2024 14:06:49 UTC] 
[15-Oct-2024 14:06:49 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/taxonomies?context=edit&per_page=100&_locale=user/
[15-Oct-2024 14:06:49 UTC] 
[15-Oct-2024 14:06:49 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/types?context=view&_locale=user/
[15-Oct-2024 14:06:49 UTC] 
[15-Oct-2024 14:06:49 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/wp_pattern_category?context=view&per_page=100&_fields=id,name,description,slug&_locale=user/
[15-Oct-2024 14:06:50 UTC] 
[15-Oct-2024 14:06:50 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/users/1?context=view&_fields=id,name&_locale=user/
[15-Oct-2024 14:06:53 UTC] 
[15-Oct-2024 14:06:53 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/block-patterns/categories?_locale=user/
[15-Oct-2024 14:06:53 UTC] 
[15-Oct-2024 14:06:53 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/?_fields=description,gmt_offset,home,name,site_icon,site_icon_url,site_logo,timezone_string,url&_locale=user/
[15-Oct-2024 14:06:53 UTC] 
[15-Oct-2024 14:06:53 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/block-patterns/patterns?_locale=user/
[15-Oct-2024 14:06:53 UTC] 
[15-Oct-2024 14:06:53 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/blocks?context=edit&per_page=100&_locale=user/
[15-Oct-2024 14:06:53 UTC] 
[15-Oct-2024 14:06:53 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/?_fields=description,gmt_offset,home,name,site_icon,site_icon_url,site_logo,timezone_string,url&_locale=user/
[15-Oct-2024 14:06:53 UTC] 
[15-Oct-2024 14:06:53 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/pages/40?_locale=user/
[15-Oct-2024 14:06:53 UTC] 
[15-Oct-2024 14:06:53 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/settings?_locale=user/
[15-Oct-2024 14:06:53 UTC] 
[15-Oct-2024 14:06:53 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/users?context=view&who=authors&per_page=50&_fields=id,name&_locale=user/
[15-Oct-2024 14:06:53 UTC] 
[15-Oct-2024 14:06:53 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/taxonomies?context=edit&per_page=100&_locale=user/
[15-Oct-2024 14:06:53 UTC] 
[15-Oct-2024 14:06:53 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/types?context=view&_locale=user/
[15-Oct-2024 14:06:54 UTC] 
[15-Oct-2024 14:06:54 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/wp_pattern_category?context=view&per_page=100&_fields=id,name,description,slug&_locale=user/
[15-Oct-2024 14:06:54 UTC] 
[15-Oct-2024 14:06:54 UTC] /wp-content/cache/lwsoptimize/cache//wp-json/wp/v2/users/1?context=view&_fields=id,name&_locale=user/
[15-Oct-2024 14:06:55 UTC] 
[15-Oct-2024 14:06:55 UTC] /wp-content/cache/lwsoptimize/cache/
See also: All tests for this plugin, How to Hide the "LWS Optimize" Admin Menu