A trial app where caching is implemented in phonegap, using Local Storage and network detection