4 ms·
It does look good, but how well does it hold up under load? When the main service goes down the status page will get a huge load spike, and it's probably not ho
by wongarsu 12y ago
It does look good, but how well does it hold up under load? When the main service goes down the status page will get a huge load spike, and it's probably not hosted on your best hardware.
The demo page doesn't look cachable: a "Cache-Control: no-cache" header, no ETag or Last-Modified headers. It's obvious that they don't want stale pages in a cache, but why not take advantage of a simple Last-Modified to remove most traffic from people refreshing every few seconds?
- mrmondo 12y agoI know first hand that Cachet has been under heavy development of late and James was having some issues with caching giving false positives so I wouldn't be surprised if he just needs to revisit caching in general now thy the code base is stable. I've been running it in docker containers and I can tell you it's very quick.
- jbrooksuk 12y agoHey Sam, you're absolutely right here. We've struggled a lot with caching under CloudFlare and have an open issue to fix the headers - something I'll be looking at very soon!