Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #45645


Ignore:
Timestamp:
12/14/2018 05:42:49 PM (6 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #45645 – Description

    initial v2  
    1 The method of loading TinyMCE was added many years ago. All TinyMCE scripts are concatenated and per-compressed, then we point the script tag to `wp-tinymce.php` where we determine if the browser supports compression, add the appropriate headers and output the actual `wp-tinymce.js.gz`.
     1The method of loading TinyMCE was added many years ago. All TinyMCE scripts are concatenated and pre-compressed, then we point the script tag src to `wp-tinymce.php` where we determine if the browser supports compression, add the appropriate headers and output the actual `wp-tinymce.js.gz`.
    22
    33This, indeed, is the fastest way to load a lot of JS without relying on the server to compress it. However lately been seeing more and more reports of that file being blocked by some security measures. Also, nearly all servers compress .js and .css files now.