{"id":20779245,"url":"https://github.com/bolt/asset-cachebuster","last_synced_at":"2025-10-05T01:08:41.610Z","repository":{"id":62495792,"uuid":"364869006","full_name":"bolt/asset-cachebuster","owner":"bolt","description":"A Bolt 4/5 extension to bust cache for your assets","archived":false,"fork":false,"pushed_at":"2021-05-10T10:07:08.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-07T17:08:01.726Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bolt.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}},"created_at":"2021-05-06T10:17:31.000Z","updated_at":"2022-08-10T19:49:59.000Z","dependencies_parsed_at":"2022-11-02T11:18:15.435Z","dependency_job_id":null,"html_url":"https://github.com/bolt/asset-cachebuster","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"bolt/reference-extension","purl":"pkg:github/bolt/asset-cachebuster","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolt%2Fasset-cachebuster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolt%2Fasset-cachebuster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolt%2Fasset-cachebuster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolt%2Fasset-cachebuster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bolt","download_url":"https://codeload.github.com/bolt/asset-cachebuster/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bolt%2Fasset-cachebuster/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278396479,"owners_count":25979794,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-17T13:26:52.051Z","updated_at":"2025-10-05T01:08:41.585Z","avatar_url":"https://github.com/bolt.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bolt Asset Cachebuster Extension\n\nAuthor: Ivo Valchev\n\nA Bolt 4/5 extension to bust cache for your assets\n\n## What does it do?\n\nAdds a version cachebuster to your Twig assets.\n\n```twig\n\u003clink rel=\"stylesheet\" href=\"{{ asset('styles.css') }}\" /\u003e\n```\n\nWill output something like:\n\n```html\n\u003clink rel=\"stylesheet\" href=\"/theme/your-theme/styles.css?v=0feef7\" /\u003e\n```\n\nThe version string is a hashed substring of your `APP_SECRET`.\nTherefore, whenever you need bust the cache, simply run:\n\n```bash\nphp bin/console bolt:reset-secret\n```\n\n## Installation\n\n```bash\ncomposer require bolt/asset-cachebuster\n```\n\n## Running PHPStan and Easy Codings Standard\n\nFirst, make sure dependencies are installed:\n\n```\nCOMPOSER_MEMORY_LIMIT=-1 composer update\n```\n\nAnd then run ECS:\n\n```\nvendor/bin/ecs check src\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbolt%2Fasset-cachebuster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbolt%2Fasset-cachebuster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbolt%2Fasset-cachebuster/lists"}