LWS Optimize 3.3.13

Does LWS Optimize work with WordPress 6.8.3 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: 248.31 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.3
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=a04d9a5c22
Aspect after-activation
HTTP status 200
Load time 0.341 s
Memory usage 3.78 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.962 s
Memory usage 4.05 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.345 s
Memory usage 3.72 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.412 s0.322 s-0.090 s3.51 MiB3.75 MiB+ 252.53 KiB
/wp-admin/edit.php0.216 s0.209 s-0.007 s3.57 MiB3.82 MiB+ 249.44 KiB
/wp-admin/post-new.php0.864 s0.665 s-0.199 s6.06 MiB6.31 MiB+ 252.45 KiB
/wp-admin/upload.php0.868 s0.667 s-0.201 s3.52 MiB3.75 MiB+ 232.03 KiB
/wp-admin/options-writing.php0.251 s0.221 s-0.030 s3.5 MiB3.73 MiB+ 236.02 KiB
/wp-admin/media-new.php0.290 s0.267 s-0.023 s3.49 MiB3.73 MiB+ 244.22 KiB
/wp-admin/edit-tags.php?taxonomy=category0.218 s0.218 s+0.000 s3.5 MiB3.75 MiB+ 254.89 KiB
/wp-admin/post-new.php?post_type=page0.778 s0.662 s-0.116 s6.05 MiB6.29 MiB+ 247.98 KiB
/wp-admin/options-discussion.php0.334 s0.259 s-0.075 s3.5 MiB3.73 MiB+ 232.52 KiB
/wp-admin/edit-comments.php0.431 s0.199 s-0.232 s3.52 MiB3.75 MiB+ 232.02 KiB
/0.379 s0.209 s-0.170 s3.43 MiB3.72 MiB+ 297.26 KiB
Average 0.458 s0.354 s-0.104 s3.97 MiB4.21 MiB+ 248.31 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%15,0164,67430
CSS19.1%4,5221403
SVG10.2%2,421103118
PO File6.6%1,5621791
JavaScript0.6%13822
JSON0.1%1601
Total 23,675 5,098 155

PHP Code Analysis | More results »

Lines of code 9,539
Total complexity 1,911
Median class complexity 78.0
Median method complexity 5.0
Most complex class Lws\Classes\LwsOptimize
Most complex function Lws\Classes\FileCache\LwsOptimizeFileCache::callback()
Classes 15
Methods 203
Functions 21

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

[01-Oct-2025 16:16:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:10 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
[01-Oct-2025 16:16:10 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:10 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
[01-Oct-2025 16:16:11 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:11 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
[01-Oct-2025 16:16:14 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:14 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
[01-Oct-2025 16:16:14 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:14 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
[01-Oct-2025 16:16:14 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:14 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
[01-Oct-2025 16:16:17 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:17 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
[01-Oct-2025 16:16:17 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:17 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
[01-Oct-2025 16:16:18 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:18 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
[01-Oct-2025 16:16:18 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:18 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
[01-Oct-2025 16:16:18 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:18 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
[01-Oct-2025 16:16:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:21 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
[01-Oct-2025 16:16:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:21 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
[01-Oct-2025 16:16:21 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:21 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
[01-Oct-2025 16:16:22 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:22 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
[01-Oct-2025 16:16:22 UTC] PHP Deprecated:  strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-includes/functions.php on line 7360
[01-Oct-2025 16:16:22 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