I have an HTML5 app that has a large manifest file, containing, among other things, a lot of PDFs. On the first visit, the cache downloads over several minutes and applies properly.
When I make changes and update the manifest accordingly, it reportedly downloads the cache again, however much more quickly, suggesting that it's not actually fetching the files. I'm monitoring the cache events and everything completes without error but none of the changes are made.
If I remove the bulk of the PDFs from the manifest it behaves as it should so I know it's a space issue. Is there a way to programmatically clear the cache before downloading the new files? I'm guessing the fetch isn't happening because it's out of space, but no error event is raised.