Michal Novotny
f67509ab41
Bug 1662012 - Remove filesystem reporting from the cache, r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D88740
2020-08-31 15:16:07 +00:00
Michal Novotny
fe4555c51f
Bug 1662011 - Remove hash stats code from the cache, r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D88739
2020-08-31 06:53:06 +00:00
Michal Novotny
a58fc4abae
Bug 1645052 - Do not store number of bytes written to the cache in preferences, r=valentin,necko-reviewers
...
Differential Revision: https://phabricator.services.mozilla.com/D88488
2020-08-28 09:22:45 +00:00
Michal Novotny
0e25e01126
Bug 1645051 - Calculated smart max cache size shouldn't overwrite browser.cache.disk.capacity pref r=necko-reviewers,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D83377
2020-07-14 16:54:22 +00:00
Michal Novotny
b66b7fa491
Bug 1606207 - Remove first-party cache isolation telemetry r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D59352
--HG--
extra : moz-landing-system : lando
2020-01-14 13:53:01 +00:00
Nicholas Nethercote
18fae65f38
Bug 1563139 - Remove StaticPrefs.h. r=glandium
...
This requires replacing inclusions of it with inclusions of more specific prefs
files.
The exception is that StaticPrefsAll.h, which is equivalent to StaticPrefs.h,
and is used in `Codegen.py` because doing something smarter is tricky and
suitable for a follow-up. As a result, any change to StaticPrefList.yaml will
still trigger recompilation of all the generated DOM bindings files, but that's
still a big improvement over trigger recompilation of every file that uses
static prefs.
Most of the changes in this commit are very boring. The only changes that are
not boring are modules/libpref/*, Codegen.py, and ServoBindings.toml.
Differential Revision: https://phabricator.services.mozilla.com/D39138
--HG--
extra : moz-landing-system : lando
2019-07-26 01:10:23 +00:00
Nicholas Nethercote
2a3b9bca8d
Bug 1562305 - Make privacy.sanitize.sanitizeOnShutdown and privacy.clearOnShutdown.cache static prefs. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D37195
--HG--
extra : moz-landing-system : lando
2019-07-11 04:38:36 +00:00
Nicholas Nethercote
0001b36344
Bug 1562305 - Make browser.cache.max_shutdown_io_lag a static pref. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D37192
--HG--
extra : moz-landing-system : lando
2019-07-11 04:38:36 +00:00
Nicholas Nethercote
0d47e90e70
Bug 1562305 - Remove browser.cache.compression_level pref. r=michal
...
It's unused.
Differential Revision: https://phabricator.services.mozilla.com/D37191
--HG--
extra : moz-landing-system : lando
2019-07-11 04:13:45 +00:00
Nicholas Nethercote
7f3b5b80c6
Bug 1562305 - Make browser.cache.disk.max_{,priority_}chunks_memory_usage static prefs. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D37190
--HG--
extra : moz-landing-system : lando
2019-07-11 04:13:21 +00:00
Nicholas Nethercote
eb1b20a058
Bug 1562305 - Make browser.cache.memory.max_entry_size a static pref. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D37189
--HG--
extra : moz-landing-system : lando
2019-07-11 04:12:59 +00:00
Nicholas Nethercote
3a80622aef
Bug 1562305 - Make browser.cache.disk.max_entry_size a static pref. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D37187
--HG--
extra : moz-landing-system : lando
2019-07-11 04:12:36 +00:00
Nicholas Nethercote
88e439b4ec
Bug 1562305 - Make browser.cache.disk.preload_chunk_count a static pref. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D37186
--HG--
extra : moz-landing-system : lando
2019-07-11 04:12:19 +00:00
Nicholas Nethercote
33a8904ee9
Bug 1562305 - Make browser.cache.disk.free_space_hard_limit a static pref. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D37185
--HG--
extra : moz-landing-system : lando
2019-07-11 04:11:59 +00:00
Nicholas Nethercote
f9f6ad5ff4
Bug 1562305 - Make browser.cache.disk.free_space_soft_limit a static pref. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D37183
--HG--
extra : moz-landing-system : lando
2019-07-11 04:11:41 +00:00
Nicholas Nethercote
4dada5f88a
Bug 1562305 - Make browser.cache.memory.capacity a static pref. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D37182
--HG--
extra : moz-landing-system : lando
2019-07-11 04:11:39 +00:00
Nicholas Nethercote
678da168fa
Bug 1562305 - Make browser.cache.disk.smart_size.enabled a static pref. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D37181
--HG--
extra : moz-landing-system : lando
2019-07-11 04:40:17 +00:00
Nicholas Nethercote
0912179ccc
Bug 1562305 - Make browser.cache.disk.metadata_memory_limit a static pref. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D37179
--HG--
extra : moz-landing-system : lando
2019-07-11 04:40:17 +00:00
Nicholas Nethercote
dcb65203e0
Bug 1562305 - Make browser.cache.memory.enable a static pref. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D37178
--HG--
extra : moz-landing-system : lando
2019-07-11 04:10:13 +00:00
Nicholas Nethercote
17b83b6b8b
Bug 1562305 - Make browser.cache.disk.enable a static pref. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D37177
--HG--
extra : moz-landing-system : lando
2019-07-11 04:09:50 +00:00
Michal Novotny
224fc95a6b
Bug 1548472 - Collect telemetry about how is the cache split by the content type, r=mayhemer
...
Like in case of bug 1506534, this telemetry is sampled periodically every time 2GB of data is written to the cache, i.e. when the cache was used for some time and there is a chance that its content has changed significantly.
Differential Revision: https://phabricator.services.mozilla.com/D29678
--HG--
extra : moz-landing-system : lando
2019-05-08 13:15:40 +00:00
Michal Novotny
1efe8b8b26
Bug 1506534 - Collect telemetry to measure how much penalty we will experience with first-party cache isolation, r=mayhemer, data-r=chutten
...
Whenever a cache entry is accessed during a document load, eTLD+1 of the top level document is added to the entry's metadata. Number of accessing sites is also stored in cache index. So we know how many copies of each entry would we have if we did a first party isolation without data deduplication. The telemetry is sent every time we write 2GB to the cache and then the data is reset. Telemetry report ID is an identifier of the telemetry cycle and it's used to invalidate eTLD+1 hashes in all cache entries.
Differential Revision: https://phabricator.services.mozilla.com/D26425
--HG--
extra : moz-landing-system : lando
2019-04-25 12:21:17 +00:00
Valentin Gosu
49ba8dc323
Bug 1532324 - Remove manual NS_RELEASE from netwerk/* r=JuniorHsu
...
Differential Revision: https://phabricator.services.mozilla.com/D22005
--HG--
extra : moz-landing-system : lando
2019-03-05 18:43:02 +00:00
Michal Novotny
f0e2bfb56c
Bug 1479357 - Specific values for browser.cache.disk.capacity do break the cache, r=mayhemer
...
This patch changes all size limits in CacheObserver to kilobytes. The same unit is used at most places when checking these limits. This avoids uint32_t overflow when converting to bytes and back.
2019-01-08 16:28:00 +02:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Andi-Bogdan Postelnicu
3f2298c2f6
Bug 1457411 - Update netwerk module to make use of newer methods introduced with c++11 and c++14. r=valentin
...
MozReview-Commit-ID: 666LNaHyiuQ
--HG--
extra : rebase_source : f3a24e0342d8dcdf9020dd473bc6b1045cbc533b
2018-04-30 19:46:04 +03:00
Honza Bambas
5d0de25dc2
Bug 1430197 - Remove the HTTP cache half-live experiment, r=michal
2018-01-12 11:51:00 +02:00
Michal Novotny
8030ac3f2d
Bug 1382688 - Do not allow to enable old disk cache backend, r=honzab
2017-08-24 10:25:38 +02:00
Honza Bambas
389ae20f08
Bug 1288204 - Use CancelSynchronousIo Win32 function to cancel blocking I/O on the HTTP cache thread. r=michal
...
--HG--
extra : rebase_source : 996af543772b29c36fb2c8eeee7a8fa8b08dac68
2016-08-10 10:50:00 -04:00
Honza Bambas
1998cc0732
Bug 1276930 - Bypass HTTP cache data read right after shutdown, r=michal
...
--HG--
extra : rebase_source : c0f568a3642c74eaad7f901c52f6dd67c6281217
2016-06-22 16:18:01 -07:00
Michal Novotny
ef6eda1f63
Bug 1267980 - Leak buffers in CacheFileChunk and CacheFileMetadata during shutdown, r=honzab
2016-05-11 11:46:54 +02:00
Julian Seward
96a413ffed
Bug 1248915 - TSan: data race on global 'mozilla::net::CacheObserver::sDiskCacheCapacity'. r=honzab.moz, n.nethercote.
2016-03-20 10:08:57 +01:00
Honza Bambas
6e283f1e37
Bug 913822 - Shutdown I/O time limit for HTTP cache. r=michal
2016-01-13 16:11:00 -05:00
Nicholas Nethercote
ec89bbf7f2
Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj.
2016-01-05 17:08:45 -08:00
Michal Novotny
cb267138f2
Bug 1177278
- Large OOMs in CacheFileMetadata::WriteMetadata, r=honzab
2015-07-22 15:23:16 +02:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Michal Novotny
075c39f3b9
Bug 1151812 - Add telemetry to find optimal cache entry hash size, r=honzab
2015-06-14 14:13:18 +02:00
Honza Bambas
1b73f3c25b
Bug 1098422 - Change the HTTP cache half-life experiment values. r=jduell
2015-02-27 10:17:00 -05:00
Michal Novotny
6ba1ff0b47
Bug 1128339 - Add telemetry probes to find out impact of bug 1120945, r=jduell
2015-02-23 12:24:35 +01:00
Michal Novotny
a832d97bc8
Bug 979900 - Avoid completely filling cache partition on Gonk, r=honzab
2014-07-11 08:25:55 +02:00
Michal Novotny
4141a9c05a
Bug 1013395 - HTTP cache v2: have a limit for write backlog, r=honzab
2014-07-10 07:59:29 +02:00
Benoit Jacob
ff32bb14c1
Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus
2014-06-24 12:36:44 -04:00
Honza Bambas
3b4a73d31e
Bug 1014394 - Correctly delete all HTTP cache leftover trashes, r=michal
2014-05-29 00:52:21 +02:00
Michal Novotny
9a6e8306aa
Bug 913819 - HTTP cache v2: preload several chunks in advance in input stream to speed up reading, r=honzab
2014-05-02 20:15:14 +02:00
Michal Novotny
161817ef1f
Bug 987829 - HTTP cache v2: make disk cache smart sizing work with the new backend, r=honzab
2014-04-22 11:21:00 +02:00
Michal Novotny
7f7612b2d2
Bug 920573 - HTTP cache v2: Remove all cache files during shutdown when "Clear history when Firefox closes" + "Cache" setting is checked, r=honzab
2014-04-09 10:06:59 +02:00
Honza Bambas
b4dd4d8955
Bug 986179 - Rework cache2 memory pool, r=michal
2014-04-06 20:45:18 +02:00
Honza Bambas
7d882ef618
Bug 922081 - respect browser.cache.disk.parent_directory preference in the new cache, r=michal
2014-02-27 00:11:38 +01:00
Ed Morley
ad73a3abc3
Backed out changeset 234c0b4ec7c9 (bug 922081)
2014-03-05 17:24:58 +00:00
Honza Bambas
d238a88c49
Bug 922081 - respect browser.cache.disk.parent_directory preference in the new cache, r=michal
2014-02-27 00:11:38 +01:00