Get the most out of your Centmin Mod LEMP stack
Become a Member

Wordpress WP Cloudflare Super Page Cache

Discussion in 'Blogs & CMS usage' started by Matt Williams, Apr 3, 2022.

  1. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    1:18 PM
    latest
    10
    How would this plugin be setup within ngnix so it caches properly? Anyway to add this plugin to the list from menu option 22? Super Page Cache for Cloudflare

    without this plugin, activating "Cache Everything" in CF page rules shows the admin bar for logged in users when logged out. Using this plugin, doesn't when Cache Everything is enabled in CF.

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,884
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    3:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yes, I previously tested that plugin to see if it's suited to adding to centmin.sh menu option 22's list of pre-configured Wordpress caching options. Just had a few roadblocks for automation and security concerns.
    Haven't looked at it since though. Probably will once I have more time. Just know the plugin doesn't work with any other origin or Wordpress cache plugins in the mix, so you'd have to remove the other ones.
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,884
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    3:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Looks like they fixed this in v4.3.7 Super Page Cache for Cloudflare

     
  4. eva2000

    eva2000 Administrator Staff Member

    54,884
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    3:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Also IIRC, if this plugin created page rules for Cloudflare or if you already had the page rules created prior to installing this plugin and then you uninstall this plugin, it will automatically remove your previously created Cloudflare page rules and break your site's page rule defined functionality.

    You'd definitely want to backup all your Cloudflare Page Rules before using/removing WP Cloudflare Super Page Cache plugin. I have my own custom script which queries Cloudflare API to backup my Firewall and Page Rules.
     
  5. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    1:18 PM
    latest
    10
    What are you suggestions on properly setting this plugin up manually?
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,884
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    3:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    From memory from last time using which was years ago was remove all other origin server and wp cache plugins How to work with Redis please and just install this plugin and apparently from their support forum they have instructions for some nginx rules to add to your nginx vhost WP Cloudflare Super Page Cache – Nginx Settings - one is to block and prevent debug.log public access.
     
    Last edited: Apr 3, 2022
  7. eva2000

    eva2000 Administrator Staff Member

    54,884
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    3:18 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Asking them again at WP CLI support documentation? for WP CLI commands to see if I can automate installation of this plugin for inclusion in centmin.sh menu option 22.