
EASY BATCH SCRIPTS TO HARD RESET REDFOX AND SUPERMIUM CACHE
When doing webdev tasks, I often run into situations where browsers start to glitch due to a stuck cache. Page elements do not being update properly and reload [F5] or even magic [CTRL+F5] does not work at all. Here are two simple batch scripts to hard reset the system cache for Firefox and Chrome based browsers.
@echo off
taskkill /IM chrome.exe /F >nul 2>&1 || echo Chrome is not running
timeout /t 2 /nobreak >nul
rmdir /s /q "C:\Users\YOUR-PROFILE-NAME\AppData\Local\Supermium\User Data\Default\Code Cache"
rmdir /s /q "C:\Users\YOUR-PROFILE-NAME\AppData\Local\Supermium\User Data\Default\Cache"
start "" "%ProgramFiles%\Supermium\chrome.