<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Sep 7, 2015 at 11:01 AM, Gervase Markham <span dir="ltr"><<a href="mailto:gerv@mozilla.org" target="_blank">gerv@mozilla.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What if sites could add a tag in an HTML header to resources, which was<br>
associated with those resources in the cache, such that when the user<br>
clicked Logout, the site could say "remove all cache entries for this<br>
tag"? This would mean sites wouldn't have to use no-cache headers (with<br>
all the downsides they have) but could rely on sensitive data being<br>
cleared when the user logged out.<br></blockquote></div><br></div><div class="gmail_extra">We're currently working on Service Workers, which are special types of Workers that sit between the application and the network, and through intercepting each request made by the application, they can implement any desired custom caching mechanism. What you're describing is possible to implement on top of that, we don't need to build a new platform feature for that use case.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Cheers,<br></div><div class="gmail_extra">-- <br><div class="gmail_signature"><div dir="ltr">Ehsan<br></div></div>
</div></div>