{"id":22397170,"url":"https://github.com/putyourlightson/craft-blitz-cloudfront","last_synced_at":"2025-06-14T19:38:01.075Z","repository":{"id":45191788,"uuid":"180861682","full_name":"putyourlightson/craft-blitz-cloudfront","owner":"putyourlightson","description":"CloudFront cache purger for the Blitz plugin for Craft CMS.","archived":false,"fork":false,"pushed_at":"2025-04-02T02:50:21.000Z","size":114,"stargazers_count":7,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-05-04T01:06:51.499Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/putyourlightson.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-04-11T19:15:16.000Z","updated_at":"2025-04-02T02:45:48.000Z","dependencies_parsed_at":"2023-09-25T23:01:13.151Z","dependency_job_id":"a9a61fb6-c6d6-4829-b7b8-955a926e3ec2","html_url":"https://github.com/putyourlightson/craft-blitz-cloudfront","commit_stats":{"total_commits":33,"total_committers":4,"mean_commits":8.25,"dds":0.5757575757575757,"last_synced_commit":"beb38dcae87f246e922a4dde9a896510eb8d0f17"},"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"purl":"pkg:github/putyourlightson/craft-blitz-cloudfront","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-blitz-cloudfront","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-blitz-cloudfront/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-blitz-cloudfront/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-blitz-cloudfront/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/putyourlightson","download_url":"https://codeload.github.com/putyourlightson/craft-blitz-cloudfront/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/putyourlightson%2Fcraft-blitz-cloudfront/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259872561,"owners_count":22924624,"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-12-05T06:11:06.024Z","updated_at":"2025-06-14T19:38:01.063Z","avatar_url":"https://github.com/putyourlightson.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Stable Version](https://img.shields.io/packagist/v/putyourlightson/craft-blitz-cloudfront?label=stable)]((https://packagist.org/packages/putyourlightson/craft-blitz-cloudfront))\n[![Total Downloads](https://img.shields.io/packagist/dt/putyourlightson/craft-blitz-cloudfront)](https://packagist.org/packages/putyourlightson/craft-blitz-cloudfront)\n\n\u003cp align=\"center\"\u003e\u003cimg width=\"130\" src=\"https://raw.githubusercontent.com/putyourlightson/craft-blitz-cloudfront/develop/src/icon.svg\"\u003e\u003c/p\u003e\n\n# Blitz CloudFront Purger Plugin for Craft CMS\n\nThe CloudFront Purger plugin allows the [Blitz](https://putyourlightson.com/plugins/blitz) plugin for [Craft CMS](https://craftcms.com/) to intelligently purge pages cached on [AWS CloudFront](https://aws.amazon.com/cloudfront/).\n\n**Note that Amazon CloudFront charges for invalidation requests. Since\ninvalidation requests can quickly add up when purging individual URLs, you\nshould be aware of the potential costs. PutYourLightsOn takes no responsibility\nwhatsoever for expenses incurred.**\n\n\u003e The first 1,000 invalidation paths that you submit per month are free; you pay for each invalidation path over 1,000 in a month. An invalidation path can be for a single file (such as `/images/logo.jpg`) or for multiple files (such as `/images/*`). A path that includes the `*` wildcard counts as one path even if it causes CloudFront to invalidate thousands of files.\n\nSource: [docs.aws.amazon.com](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#PayingForInvalidation)\n\n## License\n\nThis plugin requires a free commercial license available through the [Craft Plugin Store](https://plugins.craftcms.com/blitz-cloudfront).\n\n## Requirements\n\nThis plugin requires [Craft CMS](https://craftcms.com/) 3.0.0 or later, or 4.0.0 or later, or 5.0.0 or later.\n\n## Installation\n\nTo install the plugin, search for “Blitz CloudFront Purger” in the Craft Plugin Store, or install manually using composer.\n\n```shell\ncomposer require putyourlightson/craft-blitz-cloudfront\n```\n\n## Usage\n\nOnce installed, the CloudFront Purger can be selected in the Blitz plugin settings or in `config/blitz.php`.\n\n```php\n// The purger type to use.\n'cachePurgerType' =\u003e 'putyourlightson\\blitzcloudfront\\CloudFrontPurger',\n\n// The purger settings.\n'cachePurgerSettings' =\u003e [\n   'apiKey' =\u003e 'p_prod_abcdefgh1234567890',\n   'apiSecret' =\u003e 's_prod_abcdefgh1234567890',\n   'distributionId' =\u003e '123456789',\n   'condenseUrls' =\u003e false,\n],\n```\n\n---\n\nCreated by [PutYourLightsOn](https://putyourlightson.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fputyourlightson%2Fcraft-blitz-cloudfront","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fputyourlightson%2Fcraft-blitz-cloudfront","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fputyourlightson%2Fcraft-blitz-cloudfront/lists"}