The nsICacheSession has a method openCacheEntry() which returns an existing cache entry. Is there a method such as createCacheEntry() that will create a cache entry. I want to create an XPCOM object that will read files from disk and write them to Firefox cache.
Thanks