Discover Centmin Mod today
Register Now

Wordpress Cloudflare Guide: Using Cloudflare with Wordpress

Discussion in 'Blogs & CMS usage' started by eva2000, Sep 19, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    30,606
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,297
    Local Time:
    9:48 AM
    Nginx 1.13.x
    MariaDB 5.5
    Cloudflare has a new article on Using Cloudflare with WordPress. Worth reading :)
    Other Cloudflare + Wordpress Articles
    Notes for Centmin Mod Nginx Usage
    • For CSF Firewall whitelisting of Cloudflare IPs and setting up Nginx realip pass through you can setup tools/csfcf.sh script outlined at Beta Branch - csfcf.sh - automate Cloudflare Nginx & CSF Firewall setups
    • Cloudflare API token usage is per Cloudflare account. So be aware of this as Wordpress plugins save Cloudflare API token and if your Wordpress site does get compromised, so would the Cloudflare API token be compromised and the hackers would have access to all sites added within that Cloudflare account. You probably want to have a separate Cloudflare account for the site so have unique Cloudflare API tokens. Cloudflare Enterprise plans allow for separate API tokens, but Free, Pro and Business plans do not offer this feature Expanded availability of Multi-User access.

     
    Last edited: Sep 19, 2017
    • Like Like x 1
  2. RoldanLT

    RoldanLT Well-Known Member

    3,936
    961
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,312
    Local Time:
    7:48 AM
    1.11
    10.2
    I'm using this: Caching Static HTML with WordPress/WooCommerce
    For my biggest Managed WP Site, I can say it's 300-500% better than wp-super-cache and keycdn cache enabler.

    We are now using small Dedicated server from $470 per month Dedi down to $174 USD.
     
    • Informative Informative x 1
  3. eva2000

    eva2000 Administrator Staff Member

    30,606
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,297
    Local Time:
    9:48 AM
    Nginx 1.13.x
    MariaDB 5.5
    I guess that is without Cloudflare Business Plan's bypass cookie page rules though ?
     
  4. RoldanLT

    RoldanLT Well-Known Member

    3,936
    961
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,312
    Local Time:
    7:48 AM
    1.11
    10.2
    With Cloudflare Business Plan Bypass Cookie Rule.
     
    • Informative Informative x 1
  5. eva2000

    eva2000 Administrator Staff Member

    30,606
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,297
    Local Time:
    9:48 AM
    Nginx 1.13.x
    MariaDB 5.5
    Oh i see.. that that would explain the boost in performance .. not bad if you can afford Cloudflare Business plan at US$200/month :)
     
  6. RoldanLT

    RoldanLT Well-Known Member

    3,936
    961
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,312
    Local Time:
    7:48 AM
    1.11
    10.2
    Still we save $100 with speed boost :).
     
    • Like Like x 1
  7. eva2000

    eva2000 Administrator Staff Member

    30,606
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,297
    Local Time:
    9:48 AM
    Nginx 1.13.x
    MariaDB 5.5
    Yeah - doing the maths, it makes sense. @BamaStangGuy I know did the same moving to Cloudflare Business Plan and reducing dedicated server hosting costs.
     
  8. RoldanLT

    RoldanLT Well-Known Member

    3,936
    961
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,312
    Local Time:
    7:48 AM
    1.11
    10.2
    With wordpress site, it's pretty easy but on XenForo site with 60-70% logged users we can't utilize much the page caching for guest.
     
    • Agree Agree x 1
  9. eva2000

    eva2000 Administrator Staff Member

    30,606
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,297
    Local Time:
    9:48 AM
    Nginx 1.13.x
    MariaDB 5.5
    FYI, Cloudflare Enterprise plans also allow Custom Cache Key, Cache by Device or Cache on Cookies too Caching Anonymous Page Views
     
    • Like Like x 1