← Graph

Serve preheated static pages via nginx

takeaway 2 connections

For maximum speed, write fully-rendered (and pre-compressed) HTML to the public/cache directory during off-peak cron jobs so nginx can serve them directly. Don't forget an expire_cache hook on update/destroy to delete stale files.

type
recommendation
takeaway Serve preheated static pages via nginx
about
Concrete takeaway for nginx static cache pattern.
takeaway Serve preheated static pages via nginx
from_talk
Public/cache directory + expire_cache hook strategy.

Provenance

Read by
1 extraction