Hi,
I'm looking for a caching reverse proxy which can cache brotli encoded javascript, I did experiment with varnish and got my loading times from 23,5 seconds down to 41 ms thanks to varnish cache and then I noticed that there is no varnish package on OpenWRT.
Somebody knows a alternative that is on OpenWRT to varnish that can cache brotli as is? NGinx sadly is not able to do that.
Thanks for help
Not yet on openwrt, but:
(x)Caddy+cache-handler
Check on the brotli bits tho.
Compilation will be required to build it for your specific architecture.
What on earth are you loading?
1 Like
Plex webinterface javascript and css with brotli compression ratio 11.
loads only 2 mb instead of 10 mb that way, and since it is static you can set the cache duration pretty much to infinity for js and css since if something changes plex does use other names for the files.
It is pretty insane how much faster that loads with compression + reasonable cache settings, which plex both sadly doesn't have out of the box.
I will take a look at caddy if it works for my usecase.