Force Clear Browser Cache

/ Published in: Bash
Save to your folder(s)

Flash has a weird cache mechanism, this makes sure that the browser isn't caching any data.

Copy this code and paste it in your HTML
  1. #!/bin/bash
  3. rm -fR /Users/Mike/Library/Caches/Safari/
  4. rm -fR /Users/Mike/Library/Caches/Shiira/
  5. rm -fR /Users/Mike/Library/Caches/Firefox/
  7. exit 0

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.