Prevent the wp-blog-header.php file from cache




Wordpress LScache Plugin: Prevent the wp-blog-header.php file from cache

Last Updated on: Wed, 15 Apr 2026 00:00:02
Prevent the wp-blog-header.php file from cache I have a php code to verify the visitors address and then point it to their country page But now with using the plugin it is not working due to skipped cache I need to prevent this file from being cache wp-blog-header.php Any help would be much appreciated Hi, how exactly does it verify and point it ? like GeoIP thing ? Best regards, Hi, Im going to mark this topic Resolved , due to lack of activity. If you still need help, please feel free to re-open it. When re-open it, please also change the topic status to not solved Best regards, not by php code custom Example : $country_code = $_SERVER [ HTTP_CF_IPCOUNTRY ] if you are using CloudFlare header to check countries, then everything is easier add this at TOP of your .htaccess RewriteEngine On RewriteRule . - [E=Cache-Control:vary=% HTTP:CF-IPCountry ] and then do a purge all



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference