Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CacheExploderNew to Visual Studio Code? Get it now.
CacheExploder

CacheExploder

blitzen

|
24 installs
| (0) | Free
Appends a unique code to the end of any HTML / PHP tag you want to stop your browser caching it
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

🧨 CacheExploder 🧨

Appends a random code at the end of ?ch=1 in HTML / PHP files so it gets the latest scripts / images when you save

How to use

Put the ?ch=1 at the end of the thing you want to cache explode and it'll change when you save

i.e: <script src="coolscript.js?ch=1"> will automatically become <script src="coolscript.js?ch=Tj49G"> or similar when you save, generating a random code every time

Why use this

With web development, when your updating external scripts, the cache will keep the old version and not update with the newest code which can be very annoying This also happens with images where replacing an image wont update

This is fixed by appending something else to the end, it can be done manually but it'd have to be changed everytime you update which can be VERY annoying for scripts that you are updating

This extension updates it automatically with a randomised 5 digit code


Created by blitzen to minimize annoyance

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft