Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add CF for SaaS Support in WP Multisites (incl. APO) #447

Open
2 of 9 tasks
JanThiel opened this issue Nov 19, 2021 · 16 comments
Open
2 of 9 tasks

Comments

@JanThiel
Copy link

Confirmation

  • My issue isn't already found on the issue tracker.
  • I have replicated my issue using the latest version of the plugin and it is still present.

WordPress version

5.8.2

Cloudflare-WordPress version

4.6.0

PHP version

7.4.24

Expected result

Cloudflare for SaaS was recently made general available outside of Enterprise plans. This enabled interesting usecases for WordPress Multisites.
This feature requests aims at enabling APO for SaaS enabled domains in a WordPress Multisite "Network" mode.
Instead of activating and configuring the plugin on single sites, I suppose to add a "Network Activate" mode which only connects against the CF SaaS Zone instead of individual zones.

To make this work several changes are required in this plugin as well as on Cloudflare (APO):

  • CF APO: Allow "alternate hostname" domains to be handled via the primary zones APO instead of just the primary zone domain
  • CF (APO?): Purge the cache for Alternate Hostnames on the primary zone
  • CF WP: Add the possibility to be network activated
  • CF WP: In Network Mode: Add the CF config / login screen only to the Network Admin
  • CF WP: In Network Mode: Remove Config screen from single sites
  • CF WP: In Network Mode: Validate alternate hostname on single site using the Custom Hostname API: https://api.cloudflare.com/#custom-hostname-for-a-zone-list-custom-hostnames (Contrary to what the docs states, this is available on all account types now. Not just Enterprise. I just verified that.)
  • CF WP: In Network Mode: If sites domain is setup as alternate hostname of the primary SaaS zone: Handle Cache purging for all single sites against the globally configured primary zone

This would one allow to either continue to use the plugin as it is by activating it on a single site. But it would also unleash the potential features of the CF for SaaS offering.

Yet the biggest roadblock is that APO currently does not function on alternate hostnames in a CF SaaS setup.

Actual result

CF WP has to be enabled on a single site and connected against individual CF zones. There is no support for "alternate hostnames".

Steps to reproduce

  1. Setup a WP Multisite in Subdomain Mode (doesn't matter if subdomain or subdir) with at least one additional site (Network Domain for this example: mysaas.com)
  2. Setup a second site within this network. Subdomain: aclient.mysaas.com
  3. Change the second sites domain from aclient.mysaas.com to aclient.com
  4. Configure mysaas.com in Cloudflare
  5. Add aclient.com as an alternate hostname for mysaas.com
  6. Activate CF WP on the primary network site and login
  7. Activate CF WP on the second network site aclient.com and try to login => As this is not an individual CF Zone it will fail

Additional factoids

No response

References

No response

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label May 19, 2022
@JanThiel
Copy link
Author

Still wanted...

@lkraav
Copy link

lkraav commented May 19, 2022

I think this would also significantly simplify CF-ing WP multilingual multisites, such as with https://multilingualpress.org

@github-actions github-actions bot removed the Stale label May 20, 2022
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Nov 17, 2022
@JanThiel
Copy link
Author

Not stale, just ignored by Cloudflare. Sadly...

@github-actions github-actions bot removed the Stale label Nov 18, 2022
@tomershay
Copy link

+1
@JanThiel, did you come up with any solution for this request? Definitely an interesting use case I'd like to explore.

@JanThiel
Copy link
Author

@tomershay The possible solution would be to re-implement CFs existing APO code with a custom worker. It shouldn't be that hard. But it would be stupid for obvious reasons to do that...
And it would be quite expensive due to the worker pricing if your sites have a lot of traffic.

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Aug 12, 2023
@JanThiel
Copy link
Author

Not stale, just ignored by Cloudflare. Sadly...

@github-actions github-actions bot removed the Stale label Aug 13, 2023
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Feb 10, 2024
@JanThiel
Copy link
Author

Not stale, just - still - ignored by Cloudflare. Sadly...

Cloudflare you are not even considering this?! Come on. Just add this as a BIZ plan only feature and you even have a revenue proposition for your management.
This feature could be a game changer for professional WordPress users like us as APO is for single sites already. Having this ability would remove the need for local Varnish installations or other - paid - Caching solutions for WordPress. Currently you cannot offer any solution on this front out of the box although you have all the building blocks right there in place already 😕

@github-actions github-actions bot removed the Stale label Feb 11, 2024
@jordantrizz
Copy link

Not stale, just - still - ignored by Cloudflare. Sadly...

I spoke to two Cloudflare folks who were looking for feedback about the partner program and Cloudflare en-large. I spoke to them about this plugin almost being abandoned. As well as no real presence of a Cloudflare WordPress Community Manager. Hopefully something changes.

@JanThiel
Copy link
Author

@jordantrizz Thanks for your feedback. Appreciate sharing it, although not very positive.
I do understand that the plugin might not be that great from a revenue perspective. It is currently "just" boosting the Pro plan with regular WordPress sites.
But what does CF folk expect if they to not cater to the needs of those clients who are actually able and willing to pay for Biz and Enterprise plans?! And this is most probably one of those features / missing links which could do that. They sadly do not seem to see it this way.

Maybe it's worth raising yet another ticket for this...

@jordantrizz
Copy link

I do understand that the plugin might not be that great from a revenue perspective. It is currently "just" boosting the Pro plan with regular WordPress sites.

The plugin doesn't generate revenue as it's free, so putting effort into it doesn't see a direct profit. However, if the plugin was extended to better integrate with Cloudflare and their Pro offerings, then you would see conversions from free to pro, which I think is what Cloudflare wants itself and for it's investors.

But what does CF folk expect if they to not cater to the needs of those clients who are actually able and willing to pay for Biz and Enterprise plans?! And this is most probably one of those features / missing links which could do that. They sadly do not seem to see it this way.

They cater to enterprise clients, mostly large web hosting companies with a B2B relationship. I see this plugin as a B2C relationship with more overhead per client.

Maybe it's worth raising yet another ticket for this...

A support ticket? Perhaps you should reach out to your account manager at CF, or better yet sign up for the partner program and reach out to the partner program team.

More resources need to be put into this plugin and the community, 1FTE to the community and 1FTE to this plugin. Even if you spread it over four employees with each doing 0.5 FTE would be better than what is currently occurring.

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the Stale label Aug 11, 2024
@JanThiel
Copy link
Author

Still active, required and sadly still ignored...

@github-actions github-actions bot removed the Stale label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants