Enable cache through rewrite rules without lscache plugin