Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have discovered that navigating to a site that I control will kick off JRE (observed in Task Manager) if I browse with FireFox and if FF has the Java(TM) Platform installed as a plugin. The site does not need Java (it does use JavaScript) and if the Java Plugin is disabled on FF then the JRE is not loaded.

Does anyone know why this happens?

I do have one theory but it's a weak one: The site uses compression when sending HTML to the browser to make it faster and more responsive. I am wondering if the Java Platform has a more efficient decompressor and if Firefox sees that plugin available it uses it to run the page decompression instead of using its built in one.

share|improve this question
    
Since you control the site, you could test your theory by temporarily turning off compression. –  Stephen C Jul 31 '10 at 16:20
    
Does this site has some advertisements? Perhaps some of those are using Java ... –  Janne Pikkarainen Jul 31 '10 at 16:24
    
@Stephen C - turning off compression is really difficult as it's done in code and is not an IIS config. –  Guy Jul 31 '10 at 17:08
    
@Janne - yes it has AdSense –  Guy Jul 31 '10 at 17:10
1  
So, my wild guess is that those advertisements are Java-based :) –  Janne Pikkarainen Jul 31 '10 at 19:13
show 3 more comments

migrated from stackoverflow.com Jul 31 '10 at 16:19

This question came from our site for professional and enthusiast programmers.

1 Answer

up vote 3 down vote accepted

I am wondering if the Java Platform has a more efficient decompressor and if Firefox sees that plugin available it uses it to run the page decompression instead of using its built in one.

This sounds incredibly dubious. Common sense says "no".

share|improve this answer
    
I write java and I can say that there is no way Java is faster than C/C++. –  TheLQ Aug 1 '10 at 17:59
    
What does that have to do with decompressing gzip content? –  matt b Aug 18 '10 at 14:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.