Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Application Cache in Chrome and Safari

I’m using the AppCache in order to enable offline access for a web app. The issue is that for development every time I make a change to my JavaScript I also need to make a change to the manifest (in order to trigger a re-download of the cached field). Now I know that in FireFox you can disable the AppCache (in fact you are prompted when you first visit the page whether to grant permission to web site to store data locally) which makes it a lot more convenient for development.

My question is there a similar option for chrome and safari? I know that I can view/Edit the AppCache in chrome via chrome://appcache-internals/, what I’m looking for is a way to disable it.

Thanks

like image 583
Jack Avatar asked May 03 '12 16:05

Jack


1 Answers

In Chrome, use Incognito Mode. Okay, it's probably not what it was originally intended for, but it does the job. Nothing gets cached, and now developers everywhere have a handy excuse for why they might be using Incognito Mode.

I assume there's similar 'Private Browsing' functionality available in Safari.

EDIT: I see from your comment that you want to disable Cache Manifest functionality only. Try starting Chrome from a Command Line with the --disable-application-cache switch.

like image 100
Holf Avatar answered Nov 07 '22 17:11

Holf