• Resolved YesThatAllen

    (@ahancock)


    I’ve got this plugin working well, if I’m logged in to wordpress.

    When browsing anonymously, the “Accept” button will not go away.

    We’re using nginx with fastcgi and wp-rocket, but disabling wp-rocket didn’t make a difference.

    What advice is there for configuring nginx,fastcgi,php7.0 for use with this plugin?

    Thanks in advance!

    
    fastcgi_read_timeout 300;
    add_header rt-Fastcgi-Cache $upstream_cache_status;
    fastcgi_read_timeout 300;
    fastcgi_cache_path /var/run/nginx-cache levels=1:2 keys_zone=WORDPRESS:100m inactive=60m;
    add_header X-Cache $upstream_cache_status;
    fastcgi_cache_key "$scheme$request_method$host$request_uri";
    fastcgi_cache_use_stale error timeout invalid_header http_500;
    fastcgi_ignore_headers Cache-Control Expires Set-Cookie;
            location ~ \.php$ {
                    include snippets/fastcgi-php.conf;
                    fastcgi_pass unix:/run/php/php7.0-fpm.sock;
                    fastcgi_cache_bypass $skip_cache;
                    fastcgi_no_cache $skip_cache;
                    fastcgi_cache WORDPRESS;
                    fastcgi_cache_valid 60m;
                    include fastcgi_params;
            }
Viewing 3 replies - 1 through 3 (of 3 total)
  • Correct – a fix will be released soon to help take care of this caching issue.

    Thread Starter YesThatAllen

    (@ahancock)

    Thank you! If I can be of assistance (provide access to our multisite with this issue, etc) please let me know. You can find our contact info on donation 6WB36628L0813561N from 7 June 2018

    Thread Starter YesThatAllen

    (@ahancock)

    This appears to be fixed as of 1.4.1, thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Best practices for caching (nginx/fastcgi)’ is closed to new replies.