Richard,
@Richard@geekdom.social avatar

My host informed me that it is possible to integrate #Cloudflare into my websites to take the pressure off my hosting account CPU (if I understand this correctly), which is already high because I upgraded my services to prevent problems with my websites not loading. It only happens every once in a while, but still.

I thought Cloudflare would be used before hosting, not after. So I am very confused. Going to take a while to wrap my head around this.

#webdev #hosting

https://help.mailgun.com/hc/en-us/articles/15585722150299-Cloudflare-DNS-Setup-Guide#:~:text=Already%20own%20a%20domain%20hosted%20somewhere%20else%3F%20(Third%20Method)

michael,
@michael@thms.uk avatar

@Richard cloudflare is a ‘Proxy’. That means it sits between your server and your visitors’ browser.

It inspects every request it receives, and gives one of two answers:

A) ‘oh, I know what that page looks like, because I just served it to someone else 5 seconds ago. Here it is’. This will mean your server never sees that request, and can therefore save some cpu cycles.

B) ‘huh. I don’t remember that request. Let me ask the server‘ then remembers the server’s response and returns it to your visitors.

As long as a significant portion of your requests fall into category A you are relieving pressure from your server.

As such it can be activated (and deactivated) at any time during your site’s lifecycle.

Keep in min when you activate it, it may take 24-48hr to see any effect on the server. (And if there aren’t enough requests in category A you may not see any improvement at all, although there are all sorts of settings to tweak to help)

Hope that helps, but feel free to ask questions if you have any.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • webdev
  • Durango
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • osvaldo12
  • everett
  • Youngstown
  • khanakhh
  • slotface
  • rosin
  • thenastyranch
  • ngwrru68w68
  • kavyap
  • normalnudes
  • megavids
  • ethstaker
  • GTA5RPClips
  • modclub
  • cisconetworking
  • mdbf
  • tacticalgear
  • cubers
  • provamag3
  • tester
  • anitta
  • Leos
  • JUstTest
  • lostlight
  • All magazines