Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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
1  
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

1 Answer 1

up vote 5 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
1  
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

Your Answer

 
discard

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.