BlockFile type is slow in performance due to the large number of files
that need to be read from the disk. (launching performance issue)
So change it to a Simple cache.
Simple Cache reads fewer files than BlockFile when accessing the cache.
(BlockFile 5 files -> Simple Cache 1 file)
Analysis Result:https://confluence.sec.samsung.net/x/wBdwIQ
Change-Id: Ic75b664f0580bf930f2ae41e33780fac58aeea4b
Signed-off-by: Youngman Son <yman.son@samsung.com>
// muddles the experiment data, but as this was written to be considered for
// backport, having it behave differently than in stable would be a bigger
// problem. TODO: Does this work in later macOS releases?
-#if (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
- BUILDFLAG(IS_MAC)) && \
- !BUILDFLAG(IS_TIZEN_TV)
+#if BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
+ BUILDFLAG(IS_MAC) || BUILDFLAG(IS_TIZEN_TV)
return net::URLRequestContextBuilder::HttpCacheParams::DISK_SIMPLE;
#else
return net::URLRequestContextBuilder::HttpCacheParams::DISK_BLOCKFILE;