Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm doing some testing on a mobile site in development and there are many updates and changes happening to this site. In order to test afresh and clear any JavaScript or what-not that is held in the cache on my iPhone I need to clear the site from the history.

However, i'm not too keen on wiping all my browser history as I don't want to have re-sign into every site I'm currently logged into or have cookies for. This testing could last several months and the thought of having to clear my history and sign into all my various accounts every time is not that appealing.

Is there a way to specifically clear out the history of just one domain from my history without wiping all my cache out?

I could (and do) have other browsers on my iPhone (chrome, opera - if that even counts as a browser) but as Safari is the browser the target audience will mostly use I need to keep with this one predominantly.

share|improve this question
I'd suggest to handle your cache headers in your development environment properly and disable caching there. – Gerry Nov 29 '12 at 11:35
I'm with @gerry in sidestepping hacking browser caches which have no API or way to do across all (or even any) iOS versions. Getting a dedicated test device that you wipe often is my solution when I don't want to change the sites code to disable browser side caching. – bmike Nov 29 '12 at 12:56
It's not really a hack I'm after, but whether or not iOS safari even has the option to 'forget this site' or some such method. – JonW Nov 29 '12 at 14:11
It hasn't really, perhaps if you jailbreak. – Gerry Nov 29 '12 at 14:39
up vote 15 down vote accepted

I don't know if this is exactly what you want, but if you open Settings, then click on Safari, then scroll down and click on Advanced, then click on Website Data you will get a list of websites that have stored data. You can click Edit then remove the data from just the sites that you want to remove stored data from.

share|improve this answer
Well what do you know, that does exist on iPhone! Damn, that's a long list of websites in there. All unsorted (except by size of data held - that's rather annoying) – JonW Dec 3 '12 at 14:20

You could also use this in the browswer, ?nocache=1 behing the URL. example

This should clear the cache specifically on the site you have open in that specific tab.

Hope this helps!

share|improve this answer
Is this a browser feature or server side? I'd expect it does little more than request a new page form the server, leaving everything else cached. – Deanna May 28 at 16:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.