pages cache on edit and minor fix to routing