Closed
Bug 727715
Opened 13 years ago
Closed 13 years ago
[Firefox Live 2] We GET /min.js twice
Categories
(Websites :: Other, defect)
Websites
Other
Tracking
(Not tracked)
VERIFIED
INVALID
People
(Reporter: stephend, Unassigned)
References
()
Details
This might be invalid, but filing for investigation.
We GET /min.js twice when requesting http://www-dev.allizom.org/en-US/firefoxlive/:
[21:51:56.655] GET http://www-dev.allizom.org/includes/min/min.js?g=js [HTTP/1.1 200 OK 4260ms]
[21:51:56.690] GET http://www-dev.allizom.org/includes/min/min.js?g=js_stats [HTTP/1.1 200 OK 1835ms]
Not sure what the difference between g=js and g=js_stats is (tracking purposes of some sort, I guess?)
Comment 1•13 years ago
|
||
Just to be sure, I compared the two files and they're completely different. The query parameter defines the particular script bundle that gets minified into the include, so even though the filename is still "min.js" the content of that file is totally different when it gets sent to the client.
Looks like the g=js package is jQuery plus all the general page functions and g=js_stats is just the WebTrends code and doesn't repeat any of the other stuff, so there are no collisions or redundancy. We could possibly merge the two and compile WebTrends into the general script to save one more HTTP hit, but I'm not worried about that. So it seems this is as designed and all is well.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 2•13 years ago
|
||
Thanks, Craig. Sounds fine, and I appreciate the investigation.
Verified INVALID.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•