How to clear browser cache using ruby code?

Hi,
I need some help for clearing browser cache through ruby code how it is
possible?

Hi,
Sunny B. wrote:

Hi,
I need some help for clearing browser cache through ruby code how it is
possible?
If you are using Internet Explorer,
see del_cache - Utility for deleting Internet Explorer cache files

Regards,

Park H.

On 19 Mai, 10:54, Sunny B. [email protected]
wrote:

Hi,
I need some help for clearing browser cache through ruby code how it is
possible?

Posted viahttp://www.ruby-forum.com/.

Client side?
Depends on browser / os

Something like

require “fileutils”
include FileUtils::Verbose
Dir[“/home/user/.mozilla/firefox/*/Cache/”].each { |file| rm_rf
file }