map $http_accept $webpok { default 0; "~*webp" 1; } map $http_cf_cache_status $iscf { default 1; "" 0; } map $webpok$iscf $webp_extension { 11 ""; 10 ""; 01 ""; 00 ""; }