Does Offline Pre-Cache work with WordPress 6.9.4 and PHP 8.1.12? A smoke test was performed on .
| 2 | PHP fatal errors |
| No JavaScript exceptions | |
| 1 | Page failed to load
|
| No resource errors |
Memory usage: 5.09 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.
| WordPress version | 6.9.4 |
|---|---|
| PHP version | 8.1.12 |
| MySQL version | 10.6.10 |
| PHP memory limit | 512M |
| Last updated | |
|---|---|
| Active installs | <10 |
| WordPress.org page | https://wordpress.org/plugins/offline-precache/ |
| Badges |
|
| URL | /wp-admin/options-general.php?page=offline-precache-key-config |
|---|---|
| Requested URL | /wp-admin/plugins.php?action=activate&plugin=offline-precache%2Foffline-precache.php&plugin_status=all&paged=1&s&_wpnonce=40f5aebeae |
| Aspect | after-activation |
| HTTP status | 200 |
| Load time | 0.419 s |
| Memory usage | 3.74 MiB |
| JS errors | None |
| Resource errors | None |
| URL | /wp-admin/options-general.php?page=offline-precache-key-config |
|---|---|
| Aspect | menu-item |
| HTTP status | 200 |
| Load time | 0.281 s |
| Memory usage | 3.71 MiB |
| JS errors | None |
| Resource errors | None |
| URL | / |
|---|---|
| Aspect | front-page |
| HTTP status | 500 |
| Load time | 0.154 s |
| Memory usage | N/A |
| JS errors | None |
| Resource errors | None |
| URL | Load time | Memory usage | ||||
|---|---|---|---|---|---|---|
| Inactive | Active | Change | Inactive | Active | Change | |
| /wp-admin/index.php | 0.499 s | 0.353 s | -0.146 s | 3.78 MiB | 3.79 MiB | + 11.55 KiB |
| /wp-admin/edit.php | 0.385 s | 0.330 s | -0.055 s | 3.78 MiB | 3.79 MiB | + 11.55 KiB |
| /wp-admin/post-new.php | 0.802 s | 0.941 s | +0.139 s | 6.31 MiB | 6.32 MiB | + 11.55 KiB |
| /wp-admin/upload.php | 0.502 s | 0.566 s | +0.064 s | 3.74 MiB | 3.73 MiB | - 5.8 KiB |
| /wp-admin/options-writing.php | 0.336 s | 0.309 s | -0.027 s | 3.71 MiB | 3.71 MiB | - 1.81 KiB |
| /wp-admin/media-new.php | 0.520 s | 0.362 s | -0.158 s | 3.7 MiB | 3.71 MiB | + 6.38 KiB |
| /wp-admin/edit-tags.php?taxonomy=category | 0.350 s | 0.296 s | -0.054 s | 3.72 MiB | 3.73 MiB | + 17.05 KiB |
| /wp-admin/post-new.php?post_type=page | 0.715 s | 0.864 s | +0.149 s | 6.3 MiB | 6.31 MiB | + 11.55 KiB |
| /wp-admin/options-discussion.php | 0.354 s | 0.433 s | +0.079 s | 3.71 MiB | 3.71 MiB | - 5.31 KiB |
| /wp-admin/edit-comments.php | 0.342 s | 0.375 s | +0.033 s | 3.73 MiB | 3.73 MiB | - 5.81 KiB |
| Average | 0.480 s | 0.483 s | +0.002 s | 4.25 MiB | 4.25 MiB | + 5.09 KiB |
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.
| Language | % | Lines of code | Comment lines | Files | |
|---|---|---|---|---|---|
| PHP | 49.1% | 436 | 46 | 6 | |
| CSS | 36.1% | 321 | 2 | 1 | |
| JavaScript | 14.8% | 131 | 26 | 3 | |
| Total | 888 | 74 | 10 | ||
| Lines of code | 223 |
|---|---|
| Total complexity | 53 |
| Median class complexity | 26.5 |
| Median method complexity | 2.0 |
| Most complex class | OfflinePrecacheAdmin |
| Most complex function | OfflinePrecacheAdmin::save_options() |
| Classes | 2 |
|---|---|
| Methods | 18 |
| Functions | 0 |
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.
wp_options 1[06-Apr-2026 18:38:26 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method OfflinePrecache::register_service_worker() cannot be called statically in /wp-includes/class-wp-hook.php:341
Stack trace:
#0 /wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(522): WP_Hook->do_action()
#2 /wp-includes/general-template.php(3197): do_action()
#3 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#4 /wp-includes/template.php(814): require_once('...')
#5 /wp-includes/template.php(749): load_template()
#6 /wp-includes/general-template.php(48): locate_template()
#7 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#8 /wp-includes/template-loader.php(132): include('...')
#9 /wp-blog-header.php(19): require_once('...')
#10 /index.php(17): require('...')
#11 {main}
thrown in /wp-includes/class-wp-hook.php on line 341
[06-Apr-2026 18:38:35 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method OfflinePrecache::register_service_worker() cannot be called statically in /wp-includes/class-wp-hook.php:341
Stack trace:
#0 /wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
#1 /wp-includes/plugin.php(522): WP_Hook->do_action()
#2 /wp-includes/general-template.php(3197): do_action()
#3 /wp-content/themes/twentyseventeen/header.php(22): wp_head()
#4 /wp-includes/template.php(814): require_once('...')
#5 /wp-includes/template.php(749): load_template()
#6 /wp-includes/general-template.php(48): locate_template()
#7 /wp-content/themes/twentyseventeen/index.php(18): get_header()
#8 /wp-includes/template-loader.php(132): include('...')
#9 /wp-blog-header.php(19): require_once('...')
#10 /index.php(17): require('...')
#11 {main}
thrown in /wp-includes/class-wp-hook.php on line 341