{"id":28930511,"url":"https://github.com/rtcamp/rt-optimizer","last_synced_at":"2025-07-03T09:31:35.465Z","repository":{"id":40336272,"uuid":"417510632","full_name":"rtCamp/rt-optimizer","owner":"rtCamp","description":"A WordPress plugin that improves Core Web Vitals score by loading scripts via worker thread. Keeps the main thread idle for users to interact with page as quickly as possible.","archived":false,"fork":false,"pushed_at":"2025-02-19T06:34:35.000Z","size":424,"stargazers_count":24,"open_issues_count":12,"forks_count":6,"subscribers_count":35,"default_branch":"main","last_synced_at":"2025-06-22T15:09:49.284Z","etag":null,"topics":["core-web-vitals","optimization","optimizer"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rtCamp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2021-10-15T13:31:54.000Z","updated_at":"2025-04-04T04:38:52.000Z","dependencies_parsed_at":"2023-02-08T17:46:13.052Z","dependency_job_id":null,"html_url":"https://github.com/rtCamp/rt-optimizer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rtCamp/rt-optimizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtCamp%2Frt-optimizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtCamp%2Frt-optimizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtCamp%2Frt-optimizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtCamp%2Frt-optimizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rtCamp","download_url":"https://codeload.github.com/rtCamp/rt-optimizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rtCamp%2Frt-optimizer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263300213,"owners_count":23445200,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["core-web-vitals","optimization","optimizer"],"created_at":"2025-06-22T15:09:40.946Z","updated_at":"2025-07-03T09:31:35.454Z","avatar_url":"https://github.com/rtCamp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rt Scripts Optimizer\n\nA WordPress plugin that improves Core Web Vitals score by loading scripts via worker thread. Keeps the main thread idle for users to interact with page as quickly as possible.\n\n\n## Features\n\n1. **Uses Worker Thread** - This plugin uses worker thread for all the scripts loaded via `wp_enqueue_scripts` function, to minimize the main thread scripts execution, and loads them only on the user interactions like tap, click, scroll or keypress events.\n2. **Disables Emojis** - Removes core WP Emojis javascript to reduce extra script execution.\n\n## How it works?\n\n1. With the help of `rt_scripts_handler` function hooked with `scripts_loader_tag` filter, the function outputs all script tags with `type=\"text/rtscript\"` which are loaded via `wp_enqueue_scripts`.\n2. You can filter or skip some javascripts incase any error occurs by adding script handle like this and then scripts will load normally on main thread by path or handles via backend plugin option.\n\n## Does this interest you?\n\n\u003ca href=\"https://rtcamp.com/\"\u003e\u003cimg src=\"https://rtcamp.com/wp-content/uploads/sites/2/2019/04/github-banner@2x.png\" alt=\"Join us at rtCamp, we specialize in providing high performance enterprise WordPress solutions\"\u003e\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtcamp%2Frt-optimizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frtcamp%2Frt-optimizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frtcamp%2Frt-optimizer/lists"}