1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What three cloudflare page rules to use?

Discussion in 'Server Configuration and Hosting' started by WoodiE, Oct 12, 2016.

  1. WoodiE

    WoodiE Well-Known Member

    It seems CloudFlare only allows three page rules on free accounts. For someone wanting to setup a Xenforo site to use CloudFlare, what rules would you create?

    Thanks!
     
  2. RoldanLT

    RoldanLT Well-Known Member

    Force Cache /attachments/*
    Force Cache /proxy.php*
    Force Cache /css.php*
     
    eva2000 and KeVo like this.
  3. WoodiE

    WoodiE Well-Known Member

    Great, thank you very much!
     
  4. rosal

    rosal Member

    And about auto minify, can enable all 3?

    JavaScript
    CSS
    HTML
     
  5. Brent W

    Brent W Formerly BamaStangGuy

    Yes
     
    rosal likes this.
  6. rosal

    rosal Member

    What do you recommend turn on and off?
     
  7. Brent W

    Brent W Formerly BamaStangGuy

    We run all three on our sites.
     
    rosal likes this.
  8. rosal

    rosal Member

    Hi thanks for sharing your experience.

    And the Rocket Loader ?

    On
    Auto
    Manual
     
  9. Brent W

    Brent W Formerly BamaStangGuy

    We don't use rocket loader.
     
    rosal likes this.
  10. rosal

    rosal Member

    And do you recommend this?

     
  11. Amin Sabet

    Amin Sabet Well-Known Member

    Yes
     
  12. Brent W

    Brent W Formerly BamaStangGuy

    We use https://xfrocks.com/resources/bd-cache.8/ so we don't need the css one. This is what we use for Proxy:

    Screen Shot 2017-01-19 at 7.37.31 PM.png

    We dont't have anything setup for attachments.
     
  13. Tracy Perry

    Tracy Perry Well-Known Member

    Unless you do many "exclusions", Rocket<exp>loader will cause you issues.
     
    Amin Sabet likes this.
  14. Brent W

    Brent W Formerly BamaStangGuy

    Just curious, is Force Cache = Cache Everything? I see no Force Cache option in page rules.
     
  15. Amin Sabet

    Amin Sabet Well-Known Member

    Yes, this is what I use:

    Screen Shot 2017-01-19 at 9.08.20 PM.png

    I added the trailing slash for the attachments rule to make it compatible with WMTech Attachment Manager.
     
    Brent W likes this.
  16. Brent W

    Brent W Formerly BamaStangGuy

    For those of us on the 20 dollar plan with more page rules, what is everyone using? I just added the attachment one to all our sites.
     
  17. Amin Sabet

    Amin Sabet Well-Known Member

    I'm on the $20/month plan, but those are the only ones I use.

    EDIT: Just added 1 more:

    rule.png
     
    Last edited: Jan 20, 2017
  18. Brent W

    Brent W Formerly BamaStangGuy

    Yea we use that one for all our HTTPS sites as well.
     
  19. rosal

    rosal Member

    The rocket loader in Auto have the best Load time i can get.



    Server Location -------------------- LT without rules --- Load Time with 3 rules --- Load time with rocket loader+3 rules
    New York City -------------------------- 1.53s ------------------------ 1.52s ------------------------- 1.08s
    Stockholm - sweden ------------------- 2.14s ------------------------ 2.15s ------------------------- 1.60s

    LT* - Load Time
    For this test i used the https://tools.pingdom.com/ and the best time from 3 tests.

    So the Rocket Loader have a big impact in performance, but it doesn't work ok with xenforo, maybe cloudflare fix this or xenforo.

    And the 3 rules for me doesnt have any impact on performance, so cloudflare its already making the cache for that rules?
     

Share This Page