JosephSilber / page-cache

Caches responses as static files on disk for lightning fast page loads.
MIT License
1.21k stars 118 forks source link

GEOIP and Caching Pages #89

Open jigsawsoul opened 2 years ago

jigsawsoul commented 2 years ago

Hi,

My site serves different content based on a users GEO, how could I append -GB, -US to the static file which is created?

Many thanks

JosephSilber commented 2 years ago

Adding a suffix is easy. But how would you then serve different static files (based on the region) directly from nginx?