• Resolved Alexanderine

    (@alexanderine)


    Ok, nice work it’s an awesome light weight plugin, it really does work and it’s almost magical to see it integrating with Cloudflare geo ip. Planning to buy the pro version for a few clients.

    One small problem is after modifying the fastcgi cache key to

    fastcgi_cache_key “$scheme$request_method$host$request_uri$http_cf_ipcountry”;

    I can’t seem to get the purge for selected pages to work, for example I used to be able to purge a specific page using Nginx Helper plugin, but now I guess changing the cache key somehow nullified the purge functionality.

    I know I’m supposed to also modify the purge parameters accordingly but no matter what I do I can’t get it to work.

    This is my last attempt
    # Fastcgi-Purge Config
    location ~ /purge(/.*) {
    fastcgi_cache_purge example.com “$scheme$request_method$host$http_cf_ipcountry;$1”;
    }

    Your help will be highly appreciated as I’m planning to use Nginx with your plugin for several clients in this part of the world, just want to make sure all works properly, and that I wont have to empty all caches and compromise the performance every time we make small changes.

    • This topic was modified 3 years, 2 months ago by Alexanderine.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Nginx Cache Purge’ is closed to new replies.