awesome! it's much much better :-)

in the last change I've updated this pull request to use DOMApplicationRegistry._clearPrivateData (which sends an async request to an application cache service observer)