tracker issue : CF-3629553

select a category, or use search below
(searches all categories and all time range)
Title:

cfform.js and masks.js injection prevents parallel CSS downloading

| View in Tracker

Status/Resolution/Reason: To Fix//

Reporter/Name(from Bugbase): Rob Kinsey / Rob Kinsey (CleveKinz)

Created: 09/10/2013

Components: CFForm

Versions: 9.0.1

Failure Type: Performance Issue

Found In Build/Fixed In Build: 9.0.1 /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Win 2008 Server R2 64 bit

Vote Count: 0

Problem Description: The script tags for these two javascript files are injected immediately after the head tag (or in the middle of it, as shown at http://stackoverflow.com/questions/1477266/how-to-prevent-coldfusion-from-injecting-cfform-js-into-the-head-section), rather than after the CSS declarations. See https://developers.google.com/speed/articles/include-scripts-properly for an explaination of why this is a poor practice and how it causes performance issues.

Steps to Reproduce: Any page with a <cfform> tag.

Actual Result: <head><script type="text/javascript" src="/CFIDE/scripts/cfform.js"></script>
<script type="text/javascript" src="/CFIDE/scripts/masks.js"></script>

Expected Result: Some control over where these script tags are injected.

Any Workarounds: None that I've found

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3629553

Reason:	BugVerified

External Customer Info:
External Company:  
External Customer Name: CleveKinz
External Customer Email:  
External Test Config: My Hardware and Environment details:

Attachments:

Comments: