{"id":16354962,"url":"https://github.com/ambient-impact/drupal-rebuilder","last_synced_at":"2025-12-02T17:30:15.824Z","repository":{"id":129675551,"uuid":"485515693","full_name":"Ambient-Impact/drupal-rebuilder","owner":"Ambient-Impact","description":"Rebuild something cached by Drupal without doing a full cache clear.","archived":false,"fork":false,"pushed_at":"2024-04-04T06:43:00.000Z","size":87,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"1.x","last_synced_at":"2024-12-29T03:52:48.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.drupal.org/project/rebuilder","language":"PHP","has_issues":false,"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/Ambient-Impact.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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":"2022-04-25T19:56:54.000Z","updated_at":"2022-04-26T15:25:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"e4eb5e9b-e5f9-4631-a917-83e909486cb7","html_url":"https://github.com/Ambient-Impact/drupal-rebuilder","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ambient-Impact%2Fdrupal-rebuilder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ambient-Impact%2Fdrupal-rebuilder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ambient-Impact%2Fdrupal-rebuilder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ambient-Impact%2Fdrupal-rebuilder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ambient-Impact","download_url":"https://codeload.github.com/Ambient-Impact/drupal-rebuilder/tar.gz/refs/heads/1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239652953,"owners_count":19675004,"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":[],"created_at":"2024-10-11T01:38:09.720Z","updated_at":"2025-12-02T17:30:15.760Z","avatar_url":"https://github.com/Ambient-Impact.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Motivation\n\nWhen you change something specific in your module/profile/theme code but:\n\n1. A full cache clear feels excessive since most of it is unrelated to your change.\n\n2. It's often hard to remember exactly what service or command can clear/rebuild what, and methods to do so vary by name.\n\nThis module provides a plug-in manager, base plug-in, several commonly used plug-ins, along with Drush commands an a UI sub-module to invoke them as needed.\n\n----\n\n# Requirements\n\n* Drupal 10.1 or newer\n\n* PHP 8.1 or newer\n\n## Optional\n\n* Drush 11 or newer\n\n----\n\n# Usage\n\nOnce installed, two Drush commands become available:\n\n1. ```rebuilder:list``` - lists all available Rebuilder plug-ins.\n\n2. ```rebuilder:run``` - runs a specified Rebuilder.\n\nA *Rebuilder UI* sub-module is also provided that adds an administration form where individual Rebuilders can be invoked. Once the module is enabled, this can be found under:\n\n\u003e  Administration / Configuration / Development / Performance / Rebuilder\n\nor the path: ```/admin/config/development/performance/rebuilder```\n\n----\n\n# Questions and answers\n\n* *Why not just clear the cache?* On smaller and simpler sites, this isn't much of a problem, but if you're running a larger and more complex site, the performance hit can be significant, slowing down the site for everyone. It also isn't necessary in most cases due to how well designed [Drupal's cache API](https://www.drupal.org/docs/drupal-apis/cache-api) is, allowing precise invalidation of just the areas of the cache that are relevant.\n\n* *Can I write my own plug-ins?* Absolutely! In fact, that's one of the reasons this module is built around a plug-in manager rather than hard-coding it all. See the [Drupal Plug-in API documentation](https://www.drupal.org/docs/drupal-apis/plugin-api) for how to implement your own.\n\n* *Why is this named Rebuilder and not Rebuild?* There's already a [Drush Rebuild project](https://www.drupal.org/project/rebuild) with the Composer name of ```drupal/rebuild```. Additionally, [the ```cache:rebuild``` Drush command](https://www.drush.org./latest/commands/cache_rebuild/) has an alias of ```rebuild```. Rebuilder was chosen as a name to avoid collision with these.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fambient-impact%2Fdrupal-rebuilder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fambient-impact%2Fdrupal-rebuilder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fambient-impact%2Fdrupal-rebuilder/lists"}