Inline JS variable cached anyways
-
Hello There!
I have difficulties to exclude an inline JS varable to be cached since it comes php.
window.Yco.countryCode = '<?php echo $_SERVER['GEOIP_COUNTRY_CODE'] ?? ''; ?>';
I placed the string based exludes to all boxes https://prnt.sc/3IO4iRzgpCNI even added this to the inline script
data-no-optimize="1" data-no-defer="1"
, but I have no luck whit it. If I disable the plugin, then it works.What do I do wrong?
Thank you!
- This topic was modified 2 months, 2 weeks ago by .
- This topic was modified 2 months, 2 weeks ago by .
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.