Closed Bug 1162211 Opened 9 years ago Closed 9 years ago

Cache API should use sqlite private cache mode

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla40
Tracking Status
firefox40 --- fixed

People

(Reporter: bkelly, Assigned: bkelly)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Cache uses OpenDatabaseWithFileURL() which gives us a shared sqlite cache by default.  We don't need this feature and it adds some overhead.  We should disable the shared cache by passing "cache=private" in the file URL.
Attachment #8602274 - Flags: review?(ehsan) → review+
Lots of orange on mulet in that last try.  I think its due to the other patch in the try build.  Here's a new try:

   https://treeherder.mozilla.org/#/jobs?repo=try&revision=0f1d28de4413
Sigh.  That didn't trigger a mulet test for some reason.  Lets try this:

  https://treeherder.mozilla.org/#/jobs?repo=try&revision=aa13c8256b6e
Last try demonstrates this patch did not cause the mulet M1 orange from previous try.  I think its good to go once the tree opens.
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/bec0992e81b5
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: