Search code examples
cobalt

How to port the Cobalt disk cache function on my board?


I am porting cobalt on my board with version 9 now. When I improve the speed which open the webpage, I want to use the disk cache function. I find it was supported in verion 2.8885(https://cobalt.googlesource.com/cobalt/+/9e5b587d977d754145466cb318e3e9199cad50e1), but remove in version 7.19130 (https://cobalt.googlesource.com/cobalt/+/c2b4089af4280a65cc5e5818847e3a9a8662c215). It seems that I can carry the files which in version 2.8885 under the src/net/disk_cache/ into my project and change some initial files to get my point. But the way to enable disk cache functions is right? and the reason that why remove this functions after version 7.19130


Solution

  • The source files were removed because they weren't used. They are still not used, so bringing them back, sadly, will not help.