re: Dark theme for dev.to? VIEW POST

re: We will add this feature. Not sure the timeline. Probably not before we open-source, and at that point the resource constraints will have a differe...

Whatever you do, please make it so dev.to remains blazing fast. I love how fast it is. I'd hate to see flashes of white backgrounds when navigating.

I trust you guys on this! 💪


Yep, that's why it would be baked in at the CDN layer with varnish cache, basically at the edge cache, the request would be aware of your settings via cookies and serve the page based on that info. Every time you do this, you split the requests and end up with fewer cache hits, but anything that affects all users like this is fine. If it was thousands of individual configurations, it wouldn't work. But shared configurations like this are perfectly suitable for this approach.

It's technically pretty straightforward, but it's definitely not as simple as if we weren't edge-caching like this.

Code of Conduct Report abuse