router, cache en database working