Ironically, Cloudflare is preventing me from reading the site: Sorry, you have been blocked You are unable to access rickconlee.com
How to Run WordPress completely from RAM
31–40 of 61 posts
Re: How to Run WordPress completely from RAM
#32This site is infected with cloudflare, can't see the article.
And pagespeed score reflects that. It does not matter if it’s in ram, most of the pages/load will be on the CDN and caching anyways. Servers put the most requested into RAM also.
Not always. Most CDNs for websites (essentially reverse proxies) don't cache pages by default so private content isn't made publicly available. You have to enable/configure what is cached.
In this case, Cloudflare isn't caching the HTML: "cf-cache-status: DYNAMIC". If page cache was enabled, it would be something like "HIT" or "MISS".
Re: How to Run WordPress completely from RAM
#33I assume that modern filesystem caching to RAM is incredibly sophisticated, but wouldn't a typical website already be fully served from RAM? If you only have a few megabytes of code + assets, won't the OS see this is hot data, not being updated, so it is no longer being read from disk sometime after the initial read?
A performance problem I’ve run into with small websites like this one is many caching systems are tuned for bigger companies or hotter programs, and basically every load ends up an “exceptional” cold start case. VMs wake up, Cloudflare actually only keeps your data one place, there’s no sane HTTP caching value, and, yeah, files are read from disk. Worse, it’s easy to miss during testing by loading things more frequen…
Cloudflare has a free tiered caching option that helped my site. Instead of cache missing on local edge nodes always having to hit the origin, the edge node can sometimes pull the data from another Cloudflare server. It reduced load on my origin.
Agree with needing to tune and validate caching, one of the biggest changes my PHP site was tuning apc/OPcache sizes.
Re: How to Run WordPress completely from RAM
#34Pagespeed gives this man's site a 72: https://pagespeed.web.dev/analysis/https-rickconlee-com/foj4... And my plain ol' wordpress an 83: https://pagespeed.web.dev/analysis/http-egypt-urnash-com/a1r... My site's a WP that I started up in like 2012 and it's been running continuously ever since, it's sitting behind Apache, it's got a cache plugin, nothing special at all.
Re: How to Run WordPress completely from RAM
#35Ironically, Cloudflare is preventing me from reading the site: Sorry, you have been blocked You are unable to access rickconlee.com
Out of curiosity do you know why Cloudflare has blocked you? Browser integrity check, IP reputation, etc? I'm trying to have more lax settings for my static website, and would love to make sure it's as accessible as possible.
Re: How to Run WordPress completely from RAM
#36Ironically, Cloudflare is preventing me from reading the site: Sorry, you have been blocked You are unable to access rickconlee.com
Out of curiosity do you know why Cloudflare has blocked you? Browser integrity check, IP reputation, etc? I'm trying to have more lax settings for my static website, and would love to make sure it's as accessible as possible.
Re: How to Run WordPress completely from RAM
#37Earlier quoted context omitted.
Out of curiosity do you know why Cloudflare has blocked you? Browser integrity check, IP reputation, etc? I'm trying to have more lax settings for my static website, and would love to make sure it's as accessible as possible.
Likely country blocks in this case, can't have the mean Europeans read the precious content. Works fine with a US VPN (bad IP reputation), doesn't work with my german local provider (good IP reputation).
Re: How to Run WordPress completely from RAM
#38Earlier quoted context omitted.
A performance problem I’ve run into with small websites like this one is many caching systems are tuned for bigger companies or hotter programs, and basically every load ends up an “exceptional” cold start case. VMs wake up, Cloudflare actually only keeps your data one place, there’s no sane HTTP caching value, and, yeah, files are read from disk. Worse, it’s easy to miss during testing by loading things more frequen…
Its not the the data is only cached by Cloudflare in one place, its that it is cached at the edge node nearest to the user that last made the request. Geographically different users will likely hit a completely different edge node that needs to hit your origin to populate its cache. Cloudflare has a free tiered caching option that helped my site. Instead of cache missing on local edge nodes always having to hit the o…
Re: How to Run WordPress completely from RAM
#39Earlier quoted context omitted.
Likely country blocks in this case, can't have the mean Europeans read the precious content. Works fine with a US VPN (bad IP reputation), doesn't work with my german local provider (good IP reputation).
Works fine from Norway, so probably not a country block. Site blocking EU usually block Norway as well.
Re: How to Run WordPress completely from RAM
#40> Because even well-cached files still require filesystem-level permission checks, read cycles, and sometimes fragmentation reassembly.
I'd assume tmpfs still requires filesystem-level permission checks, or am I mistaken?