Set Google Chrome media cache size

9,239

The cache has a maximum size of 2147483647 bytes that is 2*1024**3-1 or 2GB less a byte. Any size above that is ignored and the default size is used.

Share:
9,239

Related videos on Youtube

GiuServ
Author by

GiuServ

I'm a full stack PHP Developer. Because my job, I usually write code in PHP, Html5, css3 and javascript, so I have a great experience also with Symfony and Jquery frameworks. On my own, I'm hungry of new stuff and techniques, so i developed a pretty good knowledge (which i'm still working on) with Boostrap Angular Laravel Eloquent Slimframework Propel

Updated on September 18, 2022

Comments

  • GiuServ
    GiuServ over 1 year

    I'm streaming images and videos from my server, with a player that loops over them.

    Since thoose files can be very large, i need my client to load them from cache when the player plays more time the same media, but i can't figure out how to force it.

    I'm running Google Chrome with

    --disk-cache-size=5000000000
    --media-cache-size=5000000000
    --disk-cache-dir="C:\chrome_cache"
    

    of course the folder exists, but looking at media in network tab, it looks like the browser downloads every media again and again and again....

    Is there a solution to really force the cache size? Looking at the image aboce, it's seems to me that currently it's not using the 5GB i setted as limit.

    enter image description here