Skip to content

A Chrome extension for appending a page’s URL with a cache-busting querystring.

Notifications You must be signed in to change notification settings

trayio/cachebuster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cachebuster Extension Icon Cachebuster

A Chrome extension for appending a page’s URL with a cache-busting querystring. 👊

Tired of manually appending the URL over and over in my latest work project, I built a Chrome extension to do the lifting for me. This is the source code. The extension itself can be found at https://chrome.google.com/webstore/detail/cachebuster/afiinpbcebimbkifmejdieegbekceodk

It works by pushing the POSIX time onto the querystring and then reloading the page.

Design Considerations

This is my first Chrome extension, so first I needed to figure out how to build one.

Functionally, I want it out of the way. Clicking the extension button works, but I’ve assigned alt+r to run it as well.

It doesn’t pollute the browser history. Buy using history.replaceState, Cachebuster overwrites the existing page and then calls document.reload as a callback.

Authors

Matthew Smith - @niftinessafoot

Shoutouts

Boxing Glove by Iyyuk Papa via the Noun Project

License

MIT © Matthew Smith

About

A Chrome extension for appending a page’s URL with a cache-busting querystring.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%