Open Bug 1930500 Opened 4 months ago Updated 3 months ago

Restore `Clear-Site-Data: cache` functionality

Categories

(Toolkit :: Data Sanitization, enhancement, P2)

enhancement

Tracking

()

People

(Reporter: manuel, Assigned: manuel)

References

(Blocks 1 open bug, )

Details

(Keywords: dev-doc-needed, priv-triaged)

Attachments

(1 file)

With https://github.com/privacycg/storage-partitioning/issues/11 addressed (within Firefox) and concerns for Webcompat breakage, we want to restore the feature again.

Summary: Restore `Clear-Site: data` functionality → Restore `Clear-Site-Data: cache` functionality

Manuel, if I understand this bug correctly, once your patch lands, Clear-Site-Data: cache will be generally available again without being put behind a pref. Correct?

If so, the related browser compat data needs to be updated. Otherwise, it should be added to the Experimental Features page.

Sebastian

Flags: needinfo?(manuel)
Keywords: dev-doc-needed

Hi. Yes. However I haven't gotten around to adding tests. There didn't exist any when the feature landed previously. I'm looking into writing some web-platform tests, but haven't gotten around doing that just yet.

I'll slightly switch the strategy for the patch and introduce a pref (enabled by default), due to complications our current indexing within the http cache making it necessary to iterate through all files. This is a really expensive operation. I'm investigating the performance impact and possible strategies to mitigate the problem.

Flags: needinfo?(manuel)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: