scala-webapps use more robust to offline