Git Product home page Git Product logo

cf_cache_purge_extension's Introduction

CloudFront Cache Purge Extension

このChrome拡張機能は、現在見ているWebページのCloudFrontキャッシュをショートカットで削除することを目的としています。

使い方

ダウンロード方法

  • リリースノートにあるcf_cache_purge_extension.zipをダウンロードし展開します。
  • chrome://extensions を開き、デベロッパーモードをオンにして、展開したフォルダを指定します。

または、リポジトリ内でnpm run buildを実行し、/dist以下を指定することも可能です。

実行方法

  • 拡張機能一覧にCloudFront cache purgeがあることを確認します。
  • CloudFrontのdistributionIdと、下記相当のPolicyを持つIAMアクセスキーを取得します。
  • 拡張機能を開き、必要情報を入力します
  • Ctrl+Shift+0を入力、もしくは拡張機能内でpurge cacheボタンをクリックします
  • キャッシュ削除が完了したらWEB Pushが通知されます。
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "VisualEditor0",
      "Effect": "Allow",
      "Action": ["cloudfront:GetInvalidation", "cloudfront:CreateInvalidation"],
      "Resource": "arn:aws:cloudfront::<ACCOUNT_ID>:distribution/<DISTRIBUTION_ID>"
    }
  ]
}

License

MIT

cf_cache_purge_extension's People

Contributors

iisyos avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.