Cloudflare with PivotX

Discuss PivotX 2.0.x here. Non-PivotX related discussions go in The Drain.

Cloudflare with PivotX

Postby Colp » Wed Jan 30, 2013 11:22 am

My bandwidth limit was shot last month by unknown bots, crawlers and spiders. They're ignoring robots.txt and my .htaccess file is now getting longer and longer trying to stop known bad ones. When my allowance is reset I'm going to look into using Cloudflare. I've only read their site sales pitch and a review so far, but seems operates as a frontend to your website, offering security and bandwidth usage reduction; just what I need. It caches static content from your site, so I was wondering...

Has anyone got any experience of this service? What was it? Does it affect PivotX (I'm on 2.3.6) in any way or any of the extensions?
Colp
 
Posts: 45
Joined: Thu Nov 17, 2011 12:36 am
Location: Middlesbrough, UK

Re: Cloudflare with PivotX

Postby Colp » Sun Feb 03, 2013 11:20 pm

No takers?

I joined Cloudflare anyway and it seems to be fine. I'm not sure it's speeded up any, but it claims that it's saved me 4Mb bandwidth by stopping bad requests in only 1 day. It also claimed to have blocked a few known spammers too. So far, so good.

Perhaps I'm getting paranoid, but my web server stats still say there have been some unknown bots and crawlers getting through. Back to my logs and .htaccess file it is for me.
Colp
 
Posts: 45
Joined: Thu Nov 17, 2011 12:36 am
Location: Middlesbrough, UK

Re: Cloudflare with PivotX

Postby Harm10 » Mon Feb 04, 2013 6:44 am

You could use the Page Speed plugin https://developers.google.com/speed/pagespeed to test your loading speed.
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Cloudflare with PivotX

Postby Colp » Mon Feb 04, 2013 1:34 pm

Thanks Harm10. I will.
Colp
 
Posts: 45
Joined: Thu Nov 17, 2011 12:36 am
Location: Middlesbrough, UK

Re: Cloudflare with PivotX

Postby Colp » Thu Feb 14, 2013 9:44 pm

As an update for anyone reading this post. I ended up having a lot of problems with the PivotX control panel see: http://forum.pivotx.net/viewtopic.php?f=13&t=3247

I think I can safely say that it was caused by CloudFlare and the high optimisation settings I was using. Here's an extract from the end of that post. Moral of the story is check the settings and switch off minifying javascript:

I had a look back at the CloudFlare settings, which was set to 'CDN + Full Optimisation'. This setting cached pages from query strings, which can't be good, that's dynamic content. I set it to CDN + Basic, which is static data only and I purged the cache. This had a minor effect.

I then looked further down the settings... It uses minify! I've been saying I don't use it on my site, but I didn't know CloudFlare does. It allows you to select where to apply it - to Javascript, CSS and/or HTML. I deselected Javascript like in your fix.

For good measure there's a tool they call Rocket Loader, which was on and described as "Automatically asynchronously load all JavaScript resources. " I didn't know if this is a good thing or a bad thing so I disabled it. (To be fair it doesn't seem to matter if this is on or off.)

I'm happy to say my Pivotx control panel seems to be working perfectly again in all browsers and that's without having to switch CloudFlare into development mode at all. In fact I'd go as far as to say that it seems faster too.
Colp
 
Posts: 45
Joined: Thu Nov 17, 2011 12:36 am
Location: Middlesbrough, UK


Return to 2.x Discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron