# apache/incubator-pagespeed-ngx

Automatic PageSpeed optimization module for Nginx

Repository: https://github.com/apache/incubator-pagespeed-ngx
Canonical: https://ross.abutalabs.com/products/incubator-pagespeed-ngx
Homepage: http://ngxpagespeed.com/
Language: C++
License: Apache-2.0
License Family: permissive
Topics: pagespeed
Archived: true
Last push: 2023-04-21T14:50:27+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5184, "days_push": 1230, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4339, forks 353 (observed 2026-08-28T04:08:46.078097+00:00)

## What it is
ngx_pagespeed is an Apache-licensed Nginx module (originally from Google, incubated at Apache) that automatically applies web performance best practices to pages and assets like CSS, JavaScript, and images without content changes. The original repository is archived; a maintained continuation is offered by We-Amp under ModPageSpeed.

## Use cases
- speed up my nginx-served website automatically
- optimize and recompress images on the fly
- minify and inline CSS and JavaScript without changing my build
- defer image and JavaScript loading to improve page load time
- extend browser cache lifetimes for static assets
- rewrite HTML to apply performance best practices

## When to choose
- you run Nginx and want automatic page-speed optimizations without touching application code
- you need image resizing, minification, and cache tuning handled at the web-server layer

## When to avoid
- you need actively developed software with guaranteed upstream support - the original repo is archived and the continuation requires a commercial license for production
- you use a web server other than Nginx (use mod_pagespeed for Apache instead)
- you prefer doing optimization in your build pipeline or CDN

## Facets
- artifact type: plugin
- maturity: maintenance
- function: image-processing, caching, middleware
- domain: web-development, performance, backend
- platform: -
- tags: nginx-module, web-performance, page-speed, minification, asset-optimization, apache-incubator, linux, web-server, nginx

## Member repositories
- apache/incubator-pagespeed-ngx (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:46.078097+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:21:37.596074+00:00, confidence not recorded.
  - readme: https://github.com/apache/incubator-pagespeed-ngx (fetched 2026-08-28T04:08:46.078097+00:00, sha bfa05bcf60c5)
  - homepage: http://ngxpagespeed.com/ (fetched 2026-08-29T09:10:43.784300+00:00, sha 4310c80b2c84)
  - site_page: https://ngxpagespeed.com/install (fetched 2026-08-29T09:10:43.820616+00:00, sha 92bfb025419a)
  - site_page: https://ngxpagespeed.com/faq (fetched 2026-08-29T09:10:43.823165+00:00, sha 4f0ef9c08cda)
- Data as of 2026-08-30T08:39:29.467469+00:00.
