Alternative images for dark-mode. Also, proxy image caching?

Stelios

M I N E C R A F T B U Z Z
Supreme
Feedback score
2
Posts
212
Reactions
59
Resources
0
Hey!
I'll get straight to the point - It would be nice if we could specify alternative images for our thread designs in case they're being viewed with a Dark mode vs light mode theme, or at least be given the option to have something like CSS { filter: invert(1) hue-rotate(180deg) contrast(0.9); } in dark mode applied in case it works better with our thread design (Which I imagine should be much easier to implement).
Also, seeing how the image proxying being down also brought down most images on the site - I wanted to recommend leaving the caching up to CloudFlare instead of your server. This will ensure 100% uptime for all cached images, whilst also serving them from an edge server as close to the user as possible, and decreasing the load on your server. You can set it up so existing cache-control headers are being respected, without your server doing any caching (thus images being cached just as if they're being served by the original server).
 
Type
Suggestion
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Jayson

Supreme
Feedback score
17
Posts
1,258
Reactions
741
Resources
0
The image proxy only affects assets that are not hosted by our servers, such as if you used the [IMG] BbCode. As such, it enables our members to dynamically update their images on their own servers and have it updated on our services. We could potentially cache it, but since the image proxy generally incurs a very low footprint and has a server dedicated just for it, load does not present an issue whatsoever except on extremely rare occasions (during attacks on our infrastructure). As for the usability aspect of it in terms of loading speeds, that is definitely some room for improvement, mostly with caching on our proxy's servers. It does not affect any images uploaded as an attachment or public data (avatars, profile banners, etc). The image proxy itself serves as a security measure to protect user data, such as IP addresses.

Addressing your uptime concern, the main cause of downtime (with the exception of a brief period over a year ago), is programming errors as the software we use for it is no longer maintained. We look forward to addressing it in the future once higher-priority changes are completed.

As for your suggestion, we actually already offer such a feature! The [theme] BbCode allows you to display content per theme and is included as part of our Ultimate upgrade.

Try changing the style you are on:
 
Last edited:
Top