views:

318

answers:

1

I know the path for Firefox's cache is as follows on Mac OS X Leopard:

~/Library/Caches/Firefox/Profiles/COMPUTER_CODE.default/Cache

How is the variable "COMPUTER_CODE" above created? I assume it is different from computer to computer. I want to be able to programmatically delete this cache if it exists.

A: 

It is randomly generated. The code that generates it can be found here.

sdwilsh