Best settings for Magento 2


#1

Hello Community,

Can someone tell me what the best settings are for a Magento 2 shop at Cloudflare?

Like:

  • Page Rules
  • etc.

Thanks for the support!


#2

A search through the knowledge base has a bit:
https://support.cloudflare.com/hc/en-us/search?utf8=✓&query=magento

I’m sure Google has more:
https://duckduckgo.com/?q=cloudflare+magento&t=ffab&ia=web


#3

We have a plug-in available for Magento which implements many of the base best practices here: https://www.cloudflare.com/integrations/magento/


#4

Hello cscharff,

Can you please update the module so it will also work on PHP 7.1 and PHP 7.2 ?


#5

Which specific issues do you have on these versions?


#6

requirements in the composer.json do not allow PHP 7.1 or later


#7

I assume you are referring to https://github.com/cloudflare/Cloudflare-Magento/blob/77fe394aaf082ae4c66d25fa9253cbd26ab5c531/composer.json#L18

I’d tweak that line to allow 7.1+ as well and then check how it goes :slight_smile:


#8

Yes correct. But have you also test it?
And > https://github.com/cloudflare/Cloudflare-Magento/issues/79


#9

That would be up to you, hence the “check how it goes” part :slight_smile:

If it is not urgent you can certainly also wait until the package itself has been updated, but I guess that could take some while.


#10

hello Sandro,

It is recommended by Cloudflare to use the module only it is not usable?

So what can you do about it ?


#11

I am not sure about the PHP support, that might work if you ajust that require directive.

As far as Magento support is concerned, I am afraid I really cant tell.

You have two options, you fix it yourself or you wait until Cloudflare publishes a new version. Not sure how fast the latter will happen though.


#12

Can you tell me more about the cloudflare module update ?


closed #13

This topic was automatically closed after 31 days. New replies are no longer allowed.