A A A
Forum Scope


Match



Forum Options



Min search length: 3 characters / Max search length: 84 characters
Forum Login
Lost password?
tips-topic
Optimizing SimplePress Under CloudFlare
Avatar
FidoSysop
Clearwater Florida

577 Posts
(Offline)
1
May 26, 2016 - 3:38 pm
Print

Having ran WordPress and SimplePress under CloudFlare successfully for several years i put this guide together offering tips and tricks.

SimplePress is fully compatible with WordPress on standard (old school hosting installations.) However to get the most out of SimplePress here are my best tips for running it under CloudFlare.

It’s important to understand that Steve and Andy have written this plugins code to integrate with WordPress. Numerous hooks and database calls are made to WordPress on top of the standard operating calls. This is why we should tweak our CloudFlare settings to get the most out of SimplePress.

  • CloudFlare Rocket Loader adds a ton of speed by combining as many scripts as possible in a single request. It is GREAT! But i recommend disabling Rocket Loader when in SimplePress admin.
  • Caching combining scripts is provided by cf. I recommend disabling CSS/JS Combined Caching in sp options > global settings. Double caching can and will cause problems.
  • Disabling Rocket Loader on the forum page is beneficial for your users. In your cf dashboard click on page rules. Here we want to define a rule to disable Rocket Loader on your sp forum page. Enter (full path to your WordPress forum page followed by /*. Select disable RocketLoader from the options list, then save the rule.
  • Further info on creating custom CloudFlare page rules, including Google AMP toggles is here.

The following users say thank you to FidoSysop for this useful post:

jim
  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Avatar
Mr Papa
Simi Valley, CA

19448 Posts
(Offline)
2
May 26, 2016 - 10:30 pm
Print

Thanks Doc!

Avatar
jim
Here and Now

630 Posts
(Offline)
3
Dec 18, 2017 - 9:33 pm
Print

Hey @FidoSysop thanks for the Cloudlfare recommendations. I find something contradictory, however…

 

Question 1:

You recommend: enable Rocket Loader, especially for the script combining/caching. Great.

You suggest: disable SP combined caching. OK.

But then you suggest: disable Rocket Loader on /forum pages. Uhh…

If we disable Rocket Loader on Forum pages and combined caching is disabled in SP admin, then no CSS or JS is getting minimized and cached. Could you please explain the reasoning here?

 

Question 2:

Also, when you say “disable Rocket Loader when in SimplePress admin” do you mean literally to turn it off from the CF dashboard whenever visiting the SP admin? Or writing a page rule?

If the latter would that rule look something like this?
…domain.tld/wp-admin/admin.php?page=simple-press/admin/*

Thanks again!

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Avatar
FidoSysop
Clearwater Florida

577 Posts
(Offline)
4
Dec 20, 2017 - 5:10 pm
Print

Hi Jim, Since updating my server to PHP 7-0 I no longer need to enable rocket-loader for my domains. Causes more problems than it’s worth. I do enable cf auto minify CSS JS and HTML. 

The following users say thank you to FidoSysop for this useful post:

jim
  • Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Avatar
jim
Here and Now

630 Posts
(Offline)
5
Dec 21, 2017 - 9:08 pm
Print

FidoSysop said
I no longer need to enable rocket-loader…I do enable cf auto minify CSS JS and HTML.

And you still disable css/js cache in SimplePress???

TripawdsSimple:Press powers the Tripawds Discussion Forums.

It's better to hop on three legs than to limp on four.

The Tripawds Blogs Community is made possible by The Tripawds Foundation.

Forum Timezone: America/New_York
All RSSShow Stats
Administrators: Blues Dancer, Simple Press, SP Community Support
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 630
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Newest Members:
Gary Lee
Glen Stewart
Rodney Pacis
kent black
Robert Meharg
test test
narek amprachamian
Forum Stats:
Groups: 7
Forums: 17
Topics: 10065
Posts: 79362

 

Member Stats:
Guest Posters: 607
Members: 16922
Moderators: 0
Admins: 3

Most Users Ever Online
499
Currently Online
Guest(s)
7
Currently Browsing this Page

1 Guest(s)