LWS Optimize 3.3.12

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

Summary

Errors
32PHP deprecation warnings
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 217.72 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.8.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=a68d1ffc9a
Aspect after-activation
HTTP status 200
Load time 0.298 s
Memory usage 3.75 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 1.134 s
Memory usage 4.03 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.307 s
Memory usage 3.67 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.337 s0.314 s-0.023 s3.51 MiB3.73 MiB+ 224.68 KiB
/wp-admin/edit.php0.180 s0.194 s+0.014 s3.57 MiB3.79 MiB+ 221.59 KiB
/wp-admin/post-new.php0.753 s0.630 s-0.123 s6.06 MiB6.28 MiB+ 224.6 KiB
/wp-admin/upload.php0.729 s0.695 s-0.034 s3.52 MiB3.72 MiB+ 204.18 KiB
/wp-admin/options-writing.php0.210 s0.216 s+0.006 s3.5 MiB3.7 MiB+ 208.17 KiB
/wp-admin/media-new.php0.250 s0.242 s-0.008 s3.49 MiB3.7 MiB+ 216.37 KiB
/wp-admin/edit-tags.php?taxonomy=category0.206 s0.185 s-0.021 s3.5 MiB3.73 MiB+ 227.04 KiB
/wp-admin/post-new.php?post_type=page0.588 s0.553 s-0.035 s6.05 MiB6.27 MiB+ 220.13 KiB
/wp-admin/options-discussion.php0.318 s0.229 s-0.089 s3.5 MiB3.7 MiB+ 204.67 KiB
/wp-admin/edit-comments.php0.386 s0.429 s+0.043 s3.52 MiB3.72 MiB+ 204.17 KiB
/0.329 s0.208 s-0.121 s3.43 MiB3.67 MiB+ 239.3 KiB
Average 0.390 s0.354 s-0.036 s3.97 MiB4.18 MiB+ 217.72 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
PHP63.4%14,6374,76829
CSS18.7%4,3111313
SVG10.5%2,421103118
PO File6.8%1,5621791
JavaScript0.6%13822
JSON0.1%1601
Total 23,085 5,183 154

PHP Code Analysis | More results »

Lines of code 9,478
Total complexity 1,911
Median class complexity 55.0
Median method complexity 5.0
Most complex class Lws\Classes\LwsOptimize
Most complex function Lws\Classes\FileCache\LwsOptimizeFileCache::callback()
Classes 15
Methods 201
Functions 23

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 5

PHP Error Log 32 lines

[12-Sep-2025 07:16:24 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[12-Sep-2025 07:16:24 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[12-Sep-2025 07:16:25 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[12-Sep-2025 07:16:25 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[12-Sep-2025 07:16:25 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[12-Sep-2025 07:16:25 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[12-Sep-2025 07:16:28 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[12-Sep-2025 07:16:28 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[12-Sep-2025 07:16:29 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[12-Sep-2025 07:16:29 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[12-Sep-2025 07:16:29 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[12-Sep-2025 07:16:29 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[12-Sep-2025 07:16:31 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[12-Sep-2025 07:16:31 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[12-Sep-2025 07:16:32 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[12-Sep-2025 07:16:32 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[12-Sep-2025 07:16:32 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[12-Sep-2025 07:16:32 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[12-Sep-2025 07:16:32 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[12-Sep-2025 07:16:32 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[12-Sep-2025 07:16:32 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[12-Sep-2025 07:16:32 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[12-Sep-2025 07:16:34 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[12-Sep-2025 07:16:34 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[12-Sep-2025 07:16:35 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[12-Sep-2025 07:16:35 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[12-Sep-2025 07:16:35 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[12-Sep-2025 07:16:35 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[12-Sep-2025 07:16:36 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[12-Sep-2025 07:16:36 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
[12-Sep-2025 07:16:36 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[12-Sep-2025 07:16:36 UTC] PHP Deprecated:  str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /wp-includes/functions.php on line 2195
See also: All tests for this plugin, How to Hide the "LWS Optimize" Admin Menu