{"id":22397145,"url":"https://github.com/putyourlightson/craft-clear-browser-cache","last_synced_at":"2026-03-04T23:32:28.388Z","repository":{"id":255228790,"uuid":"848690925","full_name":"putyourlightson/craft-clear-browser-cache","owner":"putyourlightson","description":"Clears the local browser cache once per unique visitor.","archived":false,"fork":false,"pushed_at":"2024-08-29T05:33:32.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-10-22T15:55:54.650Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/putyourlightson.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":"2024-08-28T08:19:42.000Z","updated_at":"2024-08-29T05:33:35.000Z","dependencies_parsed_at":"2024-08-28T19:01:23.570Z","dependency_job_id":"a7c31bf3-3475-4071-b7c3-18a1cebace6c","html_url":"https://github.com/putyourlightson/craft-clear-browser-cache","commit_stats":null,"previous_names":["putyourlightson/craft-clear-browser-cache"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/putyourlightson/craft-clear-browser-cache","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-clear-browser-cache","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-clear-browser-cache/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-clear-browser-cache/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-clear-browser-cache/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/putyourlightson","download_url":"https://codeload.github.com/putyourlightson/craft-clear-browser-cache/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-clear-browser-cache/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30099416,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T23:31:22.529Z","status":"ssl_error","status_checked_at":"2026-03-04T23:31:22.112Z","response_time":59,"last_error":"SSL_read: 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":[],"created_at":"2024-12-05T06:10:59.597Z","updated_at":"2026-03-04T23:32:28.360Z","avatar_url":"https://github.com/putyourlightson.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Clear Browser Cache Module for Craft CMS\n\nThis module clears the local browser cache once per unique visitor. It does so by send a `Clear-Site-Data` response header with a value of `\"cache\"`, and sets a cookie called `BrowserCacheCleared` to prevent the header from being sent again.\n\nTo learn the reason for its existence, [read this article →](https://putyourlightson.com/articles/critical-update-for-a-blitz-blunder)\n\n## Requirements\n\nThis plugin requires [Craft CMS](https://craftcms.com/) 4.0.0 or later, or 5.0.0 or later.\n\n## Installation\n\nInstall this module via composer.\n\n```shell\ncomposer require putyourlightson/craft-clear-browser-cache\n```\n\nOnce installed, the module self-bootstraps and does not require any further setup.\n\n## Configuration\n\nThe module is configured to run only until a cut-off date, which is set to `2026-01-01` by default. After that date, the module will have no effect. This value can be overridden by setting a `CLEAR_BROWSER_CACHE_CUTOFF_DATE` environment variable in your `.env` file.\n\n```shell\nCLEAR_BROWSER_CACHE_CUTOFF_DATE=2025-09-01\n```\n\n---\n\nCreated by [PutYourLightsOn](https://putyourlightson.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fputyourlightson%2Fcraft-clear-browser-cache","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fputyourlightson%2Fcraft-clear-browser-cache","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fputyourlightson%2Fcraft-clear-browser-cache/lists"}