cache rewrites. closes #1
1.1.0