If you are using the iPhone simulator to test your web application, you can query sqlite3 cache tables by going to the following directory:
~/Library/Application Support/iPhone Simulator/User/Library/Caches/com.apple.WebAppCache
Command to open the cache database:
sqlite3 ApplicationCache.db
Once inside, you can use the following command to view the tables:
sqlite> .tables
This is very helpful in troubleshooting caching issues.
Post a Comment