Varnish Indicator

A web extension that shows if the current page was served by the Varnish cache.

什么是Varnish Indicator?

Varnish Indicator是由Scott Mebberson开发的Chrome扩展程序,该扩展的主要功能是“A web extension that shows if the current page was served by the Varnish cache.”。

扩展截图

screenshot

下载Varnish Indicator扩展crx文件

下载Varnish Indicator扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        An icon will advise if Varnish is being used, and if so, if the page was served from cache or not.

You should install this if you're a developer and want to quickly determine if a page was served from Varnish cache.

The icon has four status colors:

- Gray: the default, displayed when Varnish isn't detected.
- Blue: displays when Varnish is detected.
- Green: displays when the page was served from cache.
- Red: displays the when the page wasn't served from cache.

It looks for x-varnish and x-varnish-cache headers to detect Varnish. It can inspect both the x-varnish-cache (looking for hit and miss) and x-varnish (looking for two ids) headers to determine if a hit or miss took place.

The extension is open source and you can find more details at https://github.com/smebberson/varnish-indicator-extension.

Improvements and suggestions are welcomed :)

Updates

v1.1

- Adds support for duplicate varnish headers.                    

扩展基本信息

名称 Varnish Indicator Varnish Indicator
ID joengfmghhlcnbmikccgjiomgempdcpj
官方URL https://chrome.google.com/webstore/detail/varnish-indicator/joengfmghhlcnbmikccgjiomgempdcpj
简介 A web extension that shows if the current page was served by the Varnish cache.
文件大小 17 KB
安装次数 100
当前版本 1.1
更新时间 2020-11-04
上架时间 2020-07-04
评分 3.67/5 共3次评分
开发者 Scott Mebberson
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/smebberson/varnish-indicator-extension
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "author": "Scott Mebberson",
    "background": {
        "persistent": true,
        "scripts": [
            "background.js"
        ]
    },
    "description": "A web extension that shows if the current page was served by the Varnish cache.",
    "homepage_url": "https:\/\/github.com\/smebberson\/varnish-indicator-extension",
    "icons": {
        "16": "img\/icon_small.png",
        "48": "img\/icon_medium.png",
        "128": "img\/icon_large.png"
    },
    "manifest_version": 2,
    "name": "Varnish Indicator",
    "page_action": {
        "default_icon": "img\/grey.png"
    },
    "permissions": [
        "webRequest",
        "webNavigation",
        "http:\/\/*\/*",
        "https:\/\/*\/*"
    ],
    "version": "1.1"
}