{"id":30030582,"url":"https://github.com/westonruter/speculative-loading-admin","last_synced_at":"2026-05-16T01:35:28.531Z","repository":{"id":306350578,"uuid":"1025873817","full_name":"westonruter/speculative-loading-admin","owner":"westonruter","description":"Adds speculative loading to the WP Admin for prerendering links with moderate eagerness in the Admin Bar and Admin Menu. Experimental.","archived":false,"fork":false,"pushed_at":"2026-05-02T03:22:11.000Z","size":371,"stargazers_count":3,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-02T05:22:50.469Z","etag":null,"topics":["wordpress","wordpress-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/westonruter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-25T00:33:21.000Z","updated_at":"2026-05-02T03:22:10.000Z","dependencies_parsed_at":"2026-01-10T21:08:31.628Z","dependency_job_id":null,"html_url":"https://github.com/westonruter/speculative-loading-admin","commit_stats":null,"previous_names":["westonruter/speculative-loading-admin"],"tags_count":1,"template":false,"template_full_name":"westonruter/wp-plugin-template","purl":"pkg:github/westonruter/speculative-loading-admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/westonruter%2Fspeculative-loading-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/westonruter%2Fspeculative-loading-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/westonruter%2Fspeculative-loading-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/westonruter%2Fspeculative-loading-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/westonruter","download_url":"https://codeload.github.com/westonruter/speculative-loading-admin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/westonruter%2Fspeculative-loading-admin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33087028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["wordpress","wordpress-plugin"],"created_at":"2025-08-06T19:01:52.318Z","updated_at":"2026-05-16T01:35:28.524Z","avatar_url":"https://github.com/westonruter.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Speculative Loading Admin\n\nAdds speculative loading to the WP Admin for prerendering links with moderate eagerness in the Admin Bar and Admin Menu. Experimental.\n\n**Contributors:** [westonruter](https://profile.wordpress.org/westonruter)  \n**Tags:**         performance  \n**Tested up to:** 6.9  \n**Stable tag:**   0.1.0  \n**License:**      [GPLv2 or later](https://www.gnu.org/licenses/old-licenses/gpl-2.0.html)\n\n## Description\n\nThis experimental plugin enables speculative loading in the WordPress Admin. For the frontend, this feature was [introduced](https://make.wordpress.org/core/2025/03/06/speculative-loading-in-6-8/) in WordPress 6.8. However, speculative loading is not enabled when a user is logged in to WordPress, and so naturally it is not enabled in the WP Admin. Since authenticated pages are usually not cached, having speculative loading enabled for logged-in users can add a lot of strain on the server. However, if your server can handle the additional load, prerendering links allows for _instant_ page navigations, which greatly improves the user experience. The [Speculative Loading](https://wordpress.org/plugins/speculation-rules/) plugin also has a [pending change](https://github.com/WordPress/performance/pull/2097) to opt in logged-in users (or just administrators) to speculative loading on the frontend.\n\nThe speculation rules used in this plugin will **prerender** links with **moderate eagerness**. The rules specifically exclude `post-new.php` since every hit to that URL generates a new `wp_posts` row in the database for the sake of auto drafts. The rules also exclude any URL that contains the `_wpnonce` query parameter, which are used for “action links” (e.g. trashing a post). Granted, such links are not likely to appear in the Admin Menu or Admin Bar, but beware a plugin may introduce their own non-idempotent action links. _Use at your own risk._\n\nAll this being said, be mindful of the sustainability concerns for speculative loading due to the increased server load, client CPU, and network bandwidth usage. This can be especially useful on a local development environment.\n\nThere is currently no UI for this plugin. It does not depend on the Speculative Loading plugin.\n\nHere is a demo video of this plugin for how pages can load instantly in WP Admin even with “Fast 4G” network throttling enabled:\n\n[![Speculative Loading in WP Admin with Fast 4G Network Throttling](https://img.youtube.com/vi/41vDiJbApXw/maxresdefault.jpg)](https://youtu.be/41vDiJbApXw)\n\nConsider combining this with the [View Transitions](https://wordpress.org/plugins/view-transitions/) plugin, and enable “Admin View Transitions” option under Settings \u003e Reading to smooth out the instant navigations with nice animations.\n\nAlso combine with the [No-cache BFCache](https://wordpress.org/plugins/nocache-bfcache/) plugin (and see [blog post](https://weston.ruter.net/2025/07/23/instant-back-forward-navigations-in-wordpress/)) which enables instant back/forward navigations while logged in to WordPress, both on the frontend and in the WP Admin.\n\n## Installation\n\n1. Download the plugin [ZIP from GitHub](https://github.com/westonruter/speculative-loading-admin/archive/refs/heads/main.zip) or if you have a local clone of the repo, run `npm run plugin-zip`.\n2. Visit **Plugins \u003e Add New Plugin** in the WordPress Admin.\n3. Click **Upload Plugin**.\n4. Select the `speculative-loading-admin.zip` file on your system from step 1 and click **Install Now**.\n5. Click the **Activate Plugin** button.\n\nYou may also install and update via [Git Updater](https://git-updater.com/).\n\n## Changelog\n\n### 0.1.0\n\n* Initial release.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwestonruter%2Fspeculative-loading-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwestonruter%2Fspeculative-loading-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwestonruter%2Fspeculative-loading-admin/lists"}