Caddy VS Apache

Compare Caddy vs Apache and see what are their differences.

Apache

Mirror of Apache HTTP Server. Issues: http://issues.apache.org (by apache)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
Caddy Apache
402 82
53,718 3,424
2.1% 1.4%
9.5 9.3
about 23 hours ago 4 days ago
Go C
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Caddy

Posts with mentions or reviews of Caddy. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-24.
  • Why Does Windows Use Backslash as Path Separator?
    4 projects | news.ycombinator.com | 24 Apr 2024
    No, look at the associated unit test: https://github.com/caddyserver/caddy/blob/c6eb186064091c79f4...

    If that test fails we could serve PHP source code instead of having it be evaluated, a major security flaw.

  • How to securely reverse-proxy ASP.NET Core web apps
    3 projects | dev.to | 4 Apr 2024
    However, it's very unlikely that .NET developers will directly expose their Kestrel-based web apps to the internet. Typically, we use other popular web servers like Nginx, Traefik, and Caddy to act as a reverse-proxy in front of Kestrel for various reasons:
  • HTTP/2 Continuation Flood: Technical Details
    2 projects | news.ycombinator.com | 4 Apr 2024
    I think that recompiling with upgraded Go will not solve the issue. It seems Caddy imports `golang.org/x/net/http2` and pins it to v0.22.0 which is vulnerable: https://github.com/caddyserver/caddy/issues/6219#issuecommen....
  • Show HN: Nano-web, a low latency one binary webserver designed for serving SPAs
    8 projects | news.ycombinator.com | 25 Mar 2024
    Caddy [1] is a single binary. It is not minimal, but the size difference is barely noticeable.

    serve also comes to mind. If you have node installed, `npx serve .` does exactly that.

    There are a few go projects that fit your description, none of them very popular, probably because they end up being a 20-line wrapper around http frameworks just like this one.

    [1] https://caddyserver.com/

  • I Deployed My Own Cute Lil’ Private Internet (a.k.a. VPC)
    8 projects | dev.to | 18 Mar 2024
    Each app’s front end is built with Qwik and uses Tailwind for styling. The server-side is powered by Qwik City (Qwik’s official meta-framework) and runs on Node.js hosted on a shared Linode VPS. The apps also use PM2 for process management and Caddy as a reverse proxy and SSL provisioner. The data is stored in a PostgreSQL database that also runs on a shared Linode VPS. The apps interact with the database using Drizzle, an Object-Relational Mapper (ORM) for JavaScript. The entire infrastructure for both apps is managed with Terraform using the Terraform Linode provider, which was new to me, but made provisioning and destroying infrastructure really fast and easy (once I learned how it all worked).
  • Automatic SSL Solution for SaaS/MicroSaaS Applications with Caddy, Node.js and Docker
    1 project | dev.to | 29 Feb 2024
    So I dug a little deeper and came across this gem: Caddy. Caddy is this fantastic, extensible, cross-platform, open-source web server that's written in Go. The best part? It comes with automatic HTTPS. It basically condenses all the work our scripts and manual maintenance were doing into just 4-5 lines of config. So, stick around and I'll walk you through how to set up an automatic SSL solution with Caddy, Docker and a Node.js server.
  • Cheapest ECS Fargate Service with HTTPS
    2 projects | dev.to | 26 Feb 2024
    Let's use Caddy which can act as reverse-proxy with automatic HTTPS coverage.
  • Bluesky announces data federation for self hosters
    7 projects | news.ycombinator.com | 22 Feb 2024
    Even if it may be simple, it doesn't handle edge cases such as https://github.com/caddyserver/caddy/issues/1632

    I personally would make the trade off of taking on more complexity so that I can have extra compatibility.

  • Freenginx.org
    11 projects | news.ycombinator.com | 14 Feb 2024
    One of the most heavily used Russian software projects on the internet https://www.nginx.com/blog/do-svidaniya-igor-thank-you-for-n... but it's only marginally more modern than Apache httpd.

    In light of recently announced nginx memory-safety vulnerabilities I'd suggest migrating to Caddy https://caddyserver.com/

  • Asciinema 3.0 will be rewritten in Rust
    10 projects | news.ycombinator.com | 7 Feb 2024

Apache

Posts with mentions or reviews of Apache. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-20.
  • The 2024 Web Hosting Report
    37 projects | dev.to | 20 Feb 2024
    Single-page applications (SPAs) existed before S3, but given that you still had to set up, scale, and maintain servers using something like Apache or NGINX in order to serve them, the advantages for “Ops” or “DevOps” were not so different to running a “real server” with a language like PHP, python, or Java.
  • Performance benchmark of PHP runtimes
    7 projects | dev.to | 17 Jan 2024
    Apache(prefork mode) + mod_php.
  • BCHS stack: BSD, C, httpd, SQLite
    3 projects | news.ycombinator.com | 28 Dec 2023
    Simiplicity is nice, but there are reasons why Perl and PHP were the popular choices for web stacks in the early 2000's--they are faster and easier to develop with than C and likely safer than C too.

    mod_perl (https://perl.apache.org/) and mod_php (https://cwiki.apache.org/confluence/plugins/servlet/mobile?c...) helped to make Apache httpd (https://httpd.apache.org/) the number one web server in the early days of the web.

  • Apache2 in Local Machine
    2 projects | dev.to | 7 Aug 2023
    https://httpd.apache.org/ - Apache2 website
  • Apache HTTP Server: An Overview of the Open Source Web Server for Multiple Platforms
    1 project | /r/u_webdev20 | 29 Apr 2023
    The Apache HTTP Server project was initially launched in 1995 by a group of web developers and administrators who sought to improve upon the existing web server software available at the time. The project has since evolved into a collaborative effort, with contributors from around the world working together to maintain and enhance the server. Today, the Apache HTTP Server is managed by the Apache Software Foundation, a non-profit organization that oversees the development of numerous open source software projects.
  • Selfmade PVE-Rack
    11 projects | /r/homelab | 17 Apr 2023
    Apache websites of friends and acquaintances
  • What is LAMP stack? LAMP stack components, How LAMP Technologies work Together
    1 project | /r/webdev101 | 31 Mar 2023
    Apache: This is the web server that is used in the LAMP stack. Apache is an open-source web server that provides a flexible and scalable platform for hosting web applications.
  • How do you host a website locally in your personal network?
    1 project | /r/Raksmart | 16 Mar 2023
    Install the web server software: Download the appropriate version of Apache HTTP Server for your operating system from the official website (https://httpd.apache.org/). Follow the installation instructions provided in the documentation.
  • Keeping Your WordPress Website Safe and Secure with WP White Security
    2 projects | dev.to | 11 Mar 2023
    Popular web servers include Apache and Nginx. Apache is the most widely used web server on the internet, and it is known for its flexibility and extensibility. Nginx, on the other hand, is known for its speed and efficiency, and it is often used as a reverse proxy or load balancer.
  • How can I set up a Node server on the cheap?
    2 projects | /r/learnprogramming | 10 Mar 2023

What are some alternatives?

When comparing Caddy and Apache you can also consider the following projects:

traefik - The Cloud Native Application Proxy

Squid - Squid Web Proxy Cache

HAProxy - HAProxy documentation

envoy - Cloud-native high-performance edge/middle/service proxy

MySQL - MySQL Server, the world's most popular open source database, and MySQL Cluster, a real-time, open source transactional database.

Nginx - An official read-only mirror of http://hg.nginx.org/nginx/ which is updated hourly. Pull requests on GitHub cannot be accepted and will be automatically closed. The proper way to submit changes to nginx is via the nginx development mailing list, see http://nginx.org/en/docs/contributing_changes.html

RoadRunner - 🤯 High-performance PHP application server, process manager written in Go and powered with plugins

Cherokee - Cherokee Web Server

Lighttpd - lighttpd2 on github for easier collaboration - main repo still on lighttpd.net