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
  2.  
  3. rm -fR /Users/Mike/Library/Caches/Safari/
  4. rm -fR /Users/Mike/Library/Caches/Shiira/
  5. rm -fR /Users/Mike/Library/Caches/Firefox/
  6.  
  7. exit 0

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.