4 ms·
If it was a content website on Wordpress, couldn't Cloudflare's $5/mo APO have done the job? It static caches the site at the edge. You'd get almost a 100% hit
by weird-eye-issue 6y ago
If it was a content website on Wordpress, couldn't Cloudflare's $5/mo APO have done the job? It static caches the site at the edge. You'd get almost a 100% hit rate unless there are strange requirements.
edit: Adding link with info about Cloudflare's APO product https://support.cloudflare.com/hc/en-us/articles/360049822312-Understanding-Automatic-Platform-Optimization-APO-with-WordPress https://support.cloudflare.com/hc/en-us/articles/36004982231...
- sim_card_map 6y agoyes it could, but it's not webscale! gotta use aws
- weird-eye-issue 6y agoWell to be fair he is an Elixir consultant so he rewrote it in Elixir.
- pastage 6y agoAPO is not a drop in to make what better, there are alot of kinks, and you could spend as much in dev time to get that working right. YMMV.
- weird-eye-issue 6y agoIt can be a drop in (it was for my sites), but it depends on the requirements
- neya 6y agoGood suggestion, but if your content site is a news site, then homepage and certain category pages require by the second updates. Cloudflare unfortunately can't help and all the requests are directly hitting your database at that point. That forces you to get an expensive MySQL instance to sustain that kind of traffic.
- weird-eye-issue 6y agoCloudflare will automatically purge the cache when you update or publish an article. Also from my understanding of APO, the cache will get distributed to all their edge locations without each one needing to hit the origin server. So if you update an article it would only get fetched a few times max until it gets updated again. That seems pretty good. Also as far as MySQL, you could install a Redis cache in front. Personally we use Varnish and Memcached as additional layers in front of Cloudflare (it works out of the box with Cloudways)