Closed Bug 589060 Opened 14 years ago Closed 7 years ago

[plugincheck] Make the plugin check faster!

Categories

(Websites :: plugins.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: kohei, Unassigned)

References

()

Details

Currently plugincheck.js calls jsonp for each plugins and takes a longer time as more plugins installed. The PFS2 API can accept many MIMETypes at once, so the request should be one time.

I have rewritten the code from scratch to reduce the running time. Give it a try:
http://mozilla.jp/firefox/security/plugincheck/
Component: www.mozilla.com → plugins.mozilla.org
QA Contact: www-mozilla-com → plugins-mozilla-org
(In reply to comment #0)

This is a cool idea.

When we started building PFS2 last year, we discussed a bulk API to keep XHR calls down to 1 per plugin check. The reason we went to 1 call per plugin was for scalability. It's easier to do web server caching per plugin where you will only vary (the cache key) by platform, browser, etc. With a single call then you have the various combinations of plugins, so most requests will be unique.

In practice, I don't know our cache hit/miss ratio in production (or if we are even caching), but if resources become an issue this is something we have to lean on.
Plugin-Check is no longer supported.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.