change db url and add cache config