modify router for expire cache of static files