Closed Bug 768812 Opened 12 years ago Closed 8 years ago

Compress offline cache

Categories

(Core :: Networking: Cache, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: glandium, Unassigned)

References

Details

Disk is slow, CPU is fast. This is especially true on B2G. The offline cache makes for a big part of the data stored on the data partition on B2G, and it's very slow to read, which makes first start of application slower.

We should thus compress the offline cache.

There may need to be an incremental approach, so that existing uncompressed offline cache still works.
(In reply to Mike Hommey [:glandium] from comment #0)
> There may need to be an incremental approach, so that existing uncompressed
> offline cache still works.

And we may not want to compress e.g. PNGs.
Adding Michal and Nick.  I remember there were some code added to have compression in HTTP cache by default.  Maybe the same mechanism could be simply used to have the same feature for offline cache.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.