On the client side, you can defend yourself with Firefox addons such as CsFire or RequestPolicy, which give you control over cross-site requests. CsFire anonymizes by default, RequestPolicy blocks by default. Either one should prevent both CRIME and BREACH.