New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

github.com/pmh-only/caddy-minify

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/pmh-only/caddy-minify

  • v0.1.1
  • Source
  • Go
  • Socket score

Version published
Created
Source

File (html/css/js/etc..) minification plugin for Caddy v2

powered by tdewolff/minify & inspired by hacdias/caddy-v1-minify

Caddy module ID

http.handlers.minify

How to use

JSON config:

{
  "handler": "minify"
}

or Caddyfile (Make sure to order the handler in the correct place.):

{
    order minify after encode
}
example.com {
    minify
    root ./test
    file_server     
}
example.com {
    minify
    reverse_proxy example.net
}

FAQs

Package last updated on 26 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc