Support Forum
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.
- Doc ~ An old Fidonet SysOp. Just hanging out in cyberspace keeping up with tech.
Hey @fidosysop-2 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!
Simple: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.
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???
Simple: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.
1 Guest(s)