BARF - Bay Area Riders Forum

Go Back   BARF - Bay Area Riders Forum > Community > Website / Geek Speak


Notices

Reply
 
Thread Tools Display Modes
Old 01-30-2021, 02:39 AM   #31
rodr
Veteran
 
rodr's Avatar
 
AMA #: 2846730
Contributor + + + +

Join Date: Dec 2009
Location: Oz
Motorcycles: CB500XA
Name: Rod
BARF is a dynamic site, so CDN is not really applicable. Most interactions are specific to the logged-in user and will cause a database update of some sort.
rodr is offline   Reply With Quote
Old 01-30-2021, 12:03 PM   #32
tzrider
Write Only User
 
tzrider's Avatar
 
BARF Admin
Contributor +

Join Date: Feb 2003
Location: Pleasanton, CA
Motorcycles: Kaw N1K
Name: Andy
While we haven't identified the cause, it isn't server load. A CDN wouldn't help the issues we're seeing.
__________________
"Rudeness is the weak man's imitation of strength." - Eric Hoffer

California Superbike School • tzrider's blog
tzrider is offline   Reply With Quote
Old 01-30-2021, 07:42 PM   #33
W800
Noob
 
W800's Avatar
 
Contributor + + +

Join Date: Aug 2020
Location: Richmond
Motorcycles: 2019 Kawasaki W800
Name: Dude
The sites we protect are dynamic as well. There's differing cache levels. For example, pages people see here are obviously dynamically generated. But the images, CSS and JavaScript are not. That stuff can be easily cached. I attached a pic of what can be cached. Everything except that last .php script can easily and automatically be cached at a CDN.

Even threads that haven't been updated can be cached. Cloudflare looks for the "last modified" header when it decides whether to send something from its cache or something from the origin.

It also changes images to WebP, and this can save some server load.

Although server load isn't the topic of this thread, my intuition is that the site is running at a high load, especially when a lot of users are here. This slows it down and messes up the UX.

Reason I bring up Cloudflare is that the basic functionality is free. There's also a $20 per month account that has even more features.

Attached Thumbnails
Click image for larger version

Name:	cloudflare.png
Views:	86
Size:	78.6 KB
ID:	541307  
__________________
Quote:
Originally Posted by afm199 View Post
You are an amazing blend of gifted visionary and cracked ceramic vessel.
-- Less than 800 posts.
W800 is offline   Reply With Quote
Old 01-31-2021, 03:33 PM   #34
rodr
Veteran
 
rodr's Avatar
 
AMA #: 2846730
Contributor + + + +

Join Date: Dec 2009
Location: Oz
Motorcycles: CB500XA
Name: Rod
Good info, thanks. Free is good!
rodr is offline   Reply With Quote
Old 01-31-2021, 04:18 PM   #35
W800
Noob
 
W800's Avatar
 
Contributor + + +

Join Date: Aug 2020
Location: Richmond
Motorcycles: 2019 Kawasaki W800
Name: Dude
Quote:
Originally Posted by rodr View Post
Good info, thanks. Free is good!
Welcome!

Figured you might like that part.



The other nice thing is that nothing needs to change at the origin site. The way you enable Cloudflare is you just change your DNS settings to use Cloudflare's nameservers.

There's also some cool things you can do inside Cloudflare with the firewall they have. For example, you can set it so that only people from certain IPs are whitelisted to access certain pages (like your admin area). You can also implement zero trust rules using Cloudflare for Teams. That's also free!!!

And - if it doesn't work for your needs, just go back to your domain provider and revert your nameservers.

Disclaimer - I don't work for them. Just like the product.

ETA: there may be a couple of small changes on your end - see: https://support.cloudflare.com/hc/en...ulletin-forums
__________________
Quote:
Originally Posted by afm199 View Post
You are an amazing blend of gifted visionary and cracked ceramic vessel.
-- Less than 800 posts.
W800 is offline   Reply With Quote
Old 01-31-2021, 08:18 PM   #36
tzrider
Write Only User
 
tzrider's Avatar
 
BARF Admin
Contributor +

Join Date: Feb 2003
Location: Pleasanton, CA
Motorcycles: Kaw N1K
Name: Andy
FWIW, I like the product too. In real life, I use it too.
__________________
"Rudeness is the weak man's imitation of strength." - Eric Hoffer

California Superbike School • tzrider's blog
tzrider is offline   Reply With Quote
Old 02-01-2021, 08:15 PM   #37
W800
Noob
 
W800's Avatar
 
Contributor + + +

Join Date: Aug 2020
Location: Richmond
Motorcycles: 2019 Kawasaki W800
Name: Dude
Quote:
Originally Posted by tzrider View Post
FWIW, I like the product too. In real life, I use it too.
__________________
Quote:
Originally Posted by afm199 View Post
You are an amazing blend of gifted visionary and cracked ceramic vessel.
-- Less than 800 posts.
W800 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:17 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.