remove templates from index.pl
cache slow $self->param calls