admin管理员组

文章数量:1025316

My website has an HTTP response header generated by Cloudflare that contain the visitor country code, and i can use that header in PHP to generate a dynamic content based on the visitor country, now i'm wondering how to use page caching to cache several version of the page depend on the visitor country without using ajax.

My website has an HTTP response header generated by Cloudflare that contain the visitor country code, and i can use that header in PHP to generate a dynamic content based on the visitor country, now i'm wondering how to use page caching to cache several version of the page depend on the visitor country without using ajax.

本文标签: performanceHow to cache a different page version based on HTTP header