astro-node-fastify v0.4.2
Astro Node.js Fastify
This adapter uses the Fastify web framework which allows Astro to deploy SSR sites to Node.js targets. It also compresses asset and SSR responses by default.
Table of contents
Quickstart
- Install via the package manager of your choice
- Example via NPM:
npm i --save-prod astro-node-fastify
- Or via
the Astro CLI:
astro add astro-node-fastify
- Example via NPM:
- Build your site
- Either start a preview or the standalone entry.
Usage
Install this package as a runtime dependency with the package manager of your choice. Afterward, you can configure which assets will be pre compressed, which cache headers the "public" should have, the default response headers that every SSR response should have, which compression algorithms should be available, and some more tweaks.
Configuration
The configuration documentation can be found here: https://friedemannsommer.github.io/astro-node-fastify/.
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
5 months ago
6 months ago
7 months ago
7 months ago
10 months ago
10 months ago
10 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago