I have looked at the code for Mozilla but like you I haven’t really found where the bug is. I assume the bug is that they do not add the if-modified-since header and therefore the files will always be redownloaded from the server.

It is pretty easy to see what goes on in Mozilla using Live HTTP Headers. Then you’ll see that it totally ignores last-modified.