Of course, I did it... I installed the squid caching proxy server on the thing client.
The one problem is, to configure all browsers to use the proxy...
In my setup squid does not run in CasaOS, however, it does run on the server running CasaOS, similarly to the SMB-server, offering timemachine backups.