Offline Pre-Cache 1.0.1

Does Offline Pre-Cache work with WordPress 6.9.4 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
2PHP fatal errors
No JavaScript exceptions
1Page failed to load
  • 1 500 Internal Server Error
No resource errors
Performance

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.

Environment
WordPress version6.9.4
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs <10
WordPress.org page https://wordpress.org/plugins/offline-precache/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 3

Offline Pre-cache ‹ Test site — WordPress

Page screenshot: Offline Pre-cache ‹ Test site — WordPress
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

Settings → Offline Pre-cache

Page screenshot: Settings → Offline Pre-cache
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

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 500
Load time 0.154 s
Memory usage N/A
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.499 s0.353 s-0.146 s3.78 MiB3.79 MiB+ 11.55 KiB
/wp-admin/edit.php0.385 s0.330 s-0.055 s3.78 MiB3.79 MiB+ 11.55 KiB
/wp-admin/post-new.php0.802 s0.941 s+0.139 s6.31 MiB6.32 MiB+ 11.55 KiB
/wp-admin/upload.php0.502 s0.566 s+0.064 s3.74 MiB3.73 MiB- 5.8 KiB
/wp-admin/options-writing.php0.336 s0.309 s-0.027 s3.71 MiB3.71 MiB- 1.81 KiB
/wp-admin/media-new.php0.520 s0.362 s-0.158 s3.7 MiB3.71 MiB+ 6.38 KiB
/wp-admin/edit-tags.php?taxonomy=category0.350 s0.296 s-0.054 s3.72 MiB3.73 MiB+ 17.05 KiB
/wp-admin/post-new.php?post_type=page0.715 s0.864 s+0.149 s6.3 MiB6.31 MiB+ 11.55 KiB
/wp-admin/options-discussion.php0.354 s0.433 s+0.079 s3.71 MiB3.71 MiB- 5.31 KiB
/wp-admin/edit-comments.php0.342 s0.375 s+0.033 s3.73 MiB3.73 MiB- 5.81 KiB
Average 0.480 s0.483 s+0.002 s4.25 MiB4.25 MiB+ 5.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
CSS
JavaScript
Language % Lines of code Comment lines Files
PHP49.1%436466
CSS36.1%32121
JavaScript14.8%131263
Total 888 74 10

PHP Code Analysis | More results »

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

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 30 lines

[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
See also: All tests for this plugin