![]() |
|
![]() |
#31 |
Veteran
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.
|
![]() |
![]() |
![]() |
#32 |
Write Only User
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 |
![]() |
![]() |
![]() |
#33 |
Noob
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. |
![]() |
![]() |
![]() |
#34 |
Veteran
AMA #: 2846730
Contributor + + + +
Join Date: Dec 2009
Location: Oz
Motorcycles: CB500XA
Name: Rod
|
Good info, thanks. Free is good!
|
![]() |
![]() |
![]() |
#35 |
Noob
Contributor + + +
Join Date: Aug 2020
Location: Richmond
Motorcycles: 2019 Kawasaki W800
Name: Dude
|
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 |
![]() |
![]() |
![]() |
#36 |
Write Only User
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 |
![]() |
![]() |
![]() |
#37 |
Noob
Contributor + + +
Join Date: Aug 2020
Location: Richmond
Motorcycles: 2019 Kawasaki W800
Name: Dude
|
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|