Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #26886, comment 11


Ignore:
Timestamp:
02/19/2015 04:52:49 PM (10 years ago)
Author:
kraterdesign
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26886, comment 11

    v1 v2  
    88Yes, it's split at 128 chars to form the url that's enqueued and output into HTML. But when "/wp-admin/load-scripts.php?....etc" with the split query strings is called by the browser, it first reassembles the split string into one long string and only then loads the scripts from it. So it's never an issue and the 128 limit is just for backwards compatibility reasons with regards to the HTTP protocol AFAIK. I didn't realize this myself until it was pointed out to me by dd32.
    99
    10 The way this is done, as far as the successfully loading of scripts goes, it wouldn't matter if it was cut off at 12, 37 or 128. Since it's merged before it does anything with the script names, it would always work.
     10The way this is done, as far as the successfully loading of scripts goes, it wouldn't matter if it was cut off at 12, 37 or 128. Since the query strings are merged before the script concatenator does anything with the script names, it would always work.