Jump to content

Cloudflare info/tutorial for IPB


Recommended Posts

Posted
On 22/11/2017 at 8:46 PM, jair101 said:

It is worth it only if you have an image heavy community. Then you can use Polish and Mirage, which help with image optimization. If you don't need that, I believe you are perfectly fine with the free plan. 

I do have an image heavy community. :( 
but I'm more concerned about the main page. So I guess I will have to evaluate the option of paying

Thank you

Posted

You can test the free one and then is very easy to upgrade if you need more speed.....

It is also very easy to downgrade if you fill that you didn't get much speed :)

Posted

I tried and bought the pro solution. My site contains almost only pictures and I could not notice any difference at all when I enabled Polish and with Lossy setting. Have tried GTmetrix since yesterday so this feels completely meaningless to pay for.

Posted
On 30/08/2017 at 8:46 AM, Netherlord said:

I get a 50% reduction in latency. You can check the graph in cloudflare analytics.

For my website was about 10% less, but at such at high cost that did no worth about 50 ms less...

Posted
On 30/08/2017 at 8:46 AM, Netherlord said:

I get a 50% reduction in latency. You can check the graph in cloudflare analytics.

For my website was about 10% less, but at such at high cost that did no worth about 50 ms less...

Posted
On 11/24/2017 at 6:22 PM, jcdesign said:

I tried and bought the pro solution. My site contains almost only pictures and I could not notice any difference at all when I enabled Polish and with Lossy setting. Have tried GTmetrix since yesterday so this feels completely meaningless to pay for.

Try with Chrome, the webp conversion brings the most sizeable improvement imo. 

  • 4 weeks later...
Posted

I still wish there was a way to run IPB through cloudflare and totally exclude downloads app. 

The 100MB cloudflare limit destroys what I do with downloads app. 

My only soulution so far is to avoid cloudflare altogether. 

Posted
1 hour ago, autumnwalker said:

I'm struggling with how to optimize CloudFlare for IPB - I'm getting like 4% requests cached and about 10% bandwidth cached. That seems really low to me - is it?

Yeap, something is wrong. I am getting 2:1 cached:non-cached requeests and bandwidth and I feel it can be optimized more.

First check the TTL of the cache, I think there is a setting that cloudflare can manage it or it can be taken from your webserver settings. 

Posted
3 minutes ago, jair101 said:

First check the TTL of the cache, I think there is a setting that cloudflare can manage it or it can be taken from your webserver settings. 

Was depending on CF to set the one month TTL, but implemented the following today:

## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On

# CSS and JS expiration: 1 month after request
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/javascript "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"

# Image files expiration: 1 year after request
ExpiresByType image/bmp "access plus 1 year" 
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/jp2 "access plus 1 year"
ExpiresByType image/pipeg "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/svg+xml "access plus 1 year"
ExpiresByType image/tiff "access plus 1 year"
ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresByType image/ico "access plus 1 year"
ExpiresByType image/icon "access plus 1 year"
ExpiresByType text/ico "access plus 1 year"
ExpiresByType application/ico "access plus 1 year"
ExpiresByType image/vnd.wap.wbmp "access plus 1 year"
ExpiresByType application/vnd.wap.wbxml "access plus 1 year"

# Other optimizations
ExpiresByType application/x-gzip "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresDefault "access plus 2 days"
</IfModule>
## EXPIRES CACHING ##

 

  • 4 weeks later...
  • 1 month later...
Posted

I had some problems with the cloudflare, since at the time of adding new themes, WAF catalogs them as HTML / SQL injection.

The only way to resolve these events was to whiten the IPS addresses of the users, but over time it is unfeasible because of the large number of users.

Posted

Most of the times using friendly urls (will avoid the = ? and a few characters on the link that may false detected as sql injection attempts) will solve that issue but even if you must disable WAF you will be benefit from other optimizations that they offer and ofcourse from the huge global dns network that they use with 120+ datacenters around the globe :)

Not to mention also the dns changes that are almost instant !

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...