FreezingMoon / AncientBeast

The Turn Based Strategy Game/eSport. Master your beasts! 🐺
https://AncientBeast.com
GNU Affero General Public License v3.0
1.67k stars 585 forks source link

cloudflare usage #345

Closed DreadKnight closed 10 years ago

DreadKnight commented 11 years ago

Research cloudflare some more, add it to AB and check if everything works well. https://www.cloudflare.com - the free plan should do, at least for now ^^

DreadKnight commented 11 years ago

I've added cloudflare, will need to wait a day to see full effects I guess.

alexandredes commented 11 years ago

Let me know how you like it :)

DreadKnight commented 11 years ago

So far it has been a total pain as it's not really working with the website most of the time and if it works, it's somewhat slower. Been getting this https://support.cloudflare.com/entries/23670002-Error-522 which doesn't have a clear'n'easy fix :\ I might revert the name servers but still look into doing optimizations, especially for bestiary and some of the media pages.

DreadKnight commented 10 years ago

Seems CloudFlare support is pretty awful and they didn't even had the courtesy to contact major webhosts to get their IP addresses whitelisted. Reverted to original DNS for now, maybe I'll try CloudFlare again in a few months in case I switch to a compatible webhosting since my contract will expire in May if I don't renew it.

DreadKnight commented 10 years ago

Will contact the tech support again and see if they can enable this. I'm also considering moving website to openshift, over there it's guaranteed for cloudflare to work and make things faster (and cheaper). Really need to improve website speed, so I've made a "batch" issue for that purpose #748

DreadKnight commented 10 years ago

CloudFlare does require $20/month if using SSL so will have to figure out how to deal with that for now without having to pay. Basically only js scripts need to go over SSL, which are needed for when having the game embedded in the play page (which I might avoid) and other websites (facebook, gamejolt, etc).

DreadKnight commented 10 years ago

Switched to OpenShift.com and now CloudFlare is up and running as well, phew, finally! :)