cachedir: add and enforce maxsize
templates: remove unnecessary xconn class from info div