Remote Backend

WebP Proxy Go unleashed.


If you'd like to run WebP Server Go as a proxy for remote backend services, you could define your configuration file like this:

  "HOST": "",
  "PORT": "3333",
  "QUALITY": "80",
  "IMG_PATH": "",
  "ALLOWED_TYPES": ["jpg","png","jpeg","bmp","gif"]

Please pay attention to the IMG_PATH config, in the example above, you suppose your files are at


Please be aware that the IMG_PATH must:

  • Begin with https:// or http://
  • Does not contain trailing slash.
    • Correct:
    • Wrong:

Requirements for backend

We use Etag header from backend to fetch and refresh/rebuild cache, so it's a need that your backend's response will contain a Etag header.

Supported backends:

  • Aliyun OSS
    • ETag
  • Tecent Cloud COS
    • ETag
  • AWS S3
    • etag
  • Nginx
    • You need to enable etag output by adding etag on; in your server block
    • ETag

results matching ""

    No results matching ""