[wp-trac] [WordPress Trac] #29811: visual tab tinyMCE theme.min.js has no version number causing cache issue
WordPress Trac
noreply at wordpress.org
Tue Oct 14 00:32:13 UTC 2014
#29811: visual tab tinyMCE theme.min.js has no version number causing cache issue
--------------------------+-----------------------------------------
Reporter: sethmatics | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 4.0
Severity: normal | Resolution:
Keywords: | Focuses: javascript, administration
--------------------------+-----------------------------------------
Comment (by azaozz):
In production this shouldn't make a difference. All of the TinyMCE JS
files are loaded in one concatenated and compressed file, wp-tinymce.js.gz
through wp-tinymce.php. This also speeds up the page loading quite a bit.
However if you have `define( 'SCRIPT_DEBUG', true )` or `define(
'CONCATENATE_SCRIPTS', false )`, TinyMCE itself will load these files. As
of version 4.0 TinyMCE doesn't support appending a version (query string)
to the URLs when auto-loading its components. Nearly all caching proxies
and CDNs seem to handle this properly. Can request for this to be added
back but most likely it will be available when upgrading to WordPress 4.1.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29811#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list