Support » Fixing WordPress » JS & CSS Send back time stamp of primary compressed file and source file?

  • With thanks, to those who control the development,
    I received the latest compressed file for WP installation from this site and compared the time stamps of JS and .min.js and CSS and .min.css.

    "./wp-includes/css/dist/editor/editor-styles-rtl.css" is newer than "./wp-includes/css/dist/editor/editor-styles-rtl.min.css" !
    -rwx------+ 1 User - 2293 2020-01-23 07:06:21.000000000 +0900 ./wp-includes/css/dist/editor/editor-styles-rtl.css
    -rwx------+ 1 User - 796 2020-01-08 20:57:23.000000000 +0900 ./wp-includes/css/dist/editor/editor-styles-rtl.min.css
    "./wp-includes/css/dist/editor/editor-styles.css" is newer than "./wp-includes/css/dist/editor/editor-styles.min.css" !
    -rwx------+ 1 User - 2291 2020-01-23 07:06:21.000000000 +0900 ./wp-includes/css/dist/editor/editor-styles.css
    -rwx------+ 1 User - 794 2020-01-08 20:57:23.000000000 +0900 ./wp-includes/css/dist/editor/editor-styles.min.css
    "./wp-includes/css/dist/nux/style-rtl.css" is newer than "./wp-includes/css/dist/nux/style-rtl.min.css" !
    -rwx------+ 1 User - 3400 2020-01-23 07:06:21.000000000 +0900 ./wp-includes/css/dist/nux/style-rtl.css
    -rwx------+ 1 User - 2273 2020-01-08 20:57:23.000000000 +0900 ./wp-includes/css/dist/nux/style-rtl.min.css
    "./wp-includes/js/dist/vendor/moment.js" is newer than "./wp-includes/js/dist/vendor/moment.min.js" !
    -rwx------+ 1 User - 146860 2018-12-14 13:41:57.000000000 +0900 ./wp-includes/js/dist/vendor/moment.js
    -rwx------+ 1 User - 51679 2018-12-14 13:11:47.000000000 +0900 ./wp-includes/js/dist/vendor/moment.min.js
    "./wp-includes/js/dist/vendor/wp-polyfill-element-closest.js" is newer than "./wp-includes/js/dist/vendor/wp-polyfill-element-closest.min.js" !
    -rwx------+ 1 User - 895 2018-12-14 13:41:57.000000000 +0900 ./wp-includes/js/dist/vendor/wp-polyfill-element-closest.js
    -rwx------+ 1 User - 417 2018-12-14 13:11:47.000000000 +0900 ./wp-includes/js/dist/vendor/wp-polyfill-element-closest.min.js
    "./wp-includes/js/dist/vendor/wp-polyfill-node-contains.js" is newer than "./wp-includes/js/dist/vendor/wp-polyfill-node-contains.min.js" !
    -rwx------+ 1 User - 531 2018-12-14 13:41:57.000000000 +0900 ./wp-includes/js/dist/vendor/wp-polyfill-node-contains.js
    -rwx------+ 1 User - 353 2018-12-14 13:11:47.000000000 +0900 ./wp-includes/js/dist/vendor/wp-polyfill-node-contains.min.js
    "./wp-includes/js/imgareaselect/jquery.imgareaselect.js" is newer than "./wp-includes/js/imgareaselect/jquery.imgareaselect.min.js" !
    -rwx------+ 1 User - 38130 2019-11-18 01:14:03.000000000 +0900 ./wp-includes/js/imgareaselect/jquery.imgareaselect.js
    -rwx------+ 1 User - 9714 2019-10-06 04:49:10.000000000 +0900 ./wp-includes/js/imgareaselect/jquery.imgareaselect.min.js
    "./wp-includes/js/jquery/jquery.hotkeys.js" is newer than "./wp-includes/js/jquery/jquery.hotkeys.min.js" !
    -rwx------+ 1 User - 5612 2014-01-02 09:11:14.000000000 +0900 ./wp-includes/js/jquery/jquery.hotkeys.js
    -rwx------+ 1 User - 1793 2012-08-23 09:04:18.000000000 +0900 ./wp-includes/js/jquery/jquery.hotkeys.min.js
    "./wp-includes/js/jquery/jquery.table-hotkeys.js" is newer than "./wp-includes/js/jquery/jquery.table-hotkeys.min.js" !
    -rwx------+ 1 User - 3730 2013-11-15 14:16:09.000000000 +0900 ./wp-includes/js/jquery/jquery.table-hotkeys.js
    -rwx------+ 1 User - 2295 2012-08-23 09:04:18.000000000 +0900 ./wp-includes/js/jquery/jquery.table-hotkeys.min.js
    "./wp-includes/js/mediaelement/wp-playlist.js" is newer than "./wp-includes/js/mediaelement/wp-playlist.min.js" !
    -rwx------+ 1 User - 5357 2019-11-30 03:01:03.000000000 +0900 ./wp-includes/js/mediaelement/wp-playlist.js
    -rwx------+ 1 User - 3431 2019-10-06 04:49:10.000000000 +0900 ./wp-includes/js/mediaelement/wp-playlist.min.js
    "./wp-includes/js/plupload/handlers.js" is newer than "./wp-includes/js/plupload/handlers.min.js" !
    -rwx------+ 1 User - 18765 2020-01-29 09:45:18.000000000 +0900 ./wp-includes/js/plupload/handlers.js
    -rwx------+ 1 User - 11264 2019-10-22 07:44:03.000000000 +0900 ./wp-includes/js/plupload/handlers.min.js
    "./wp-includes/js/plupload/wp-plupload.js" is newer than "./wp-includes/js/plupload/wp-plupload.min.js" !
    -rwx------+ 1 User - 15884 2020-01-29 09:45:18.000000000 +0900 ./wp-includes/js/plupload/wp-plupload.js
    -rwx------+ 1 User - 5638 2019-10-22 07:44:03.000000000 +0900 ./wp-includes/js/plupload/wp-plupload.min.js
    "./wp-includes/js/tinymce/plugins/charmap/plugin.js" is newer than "./wp-includes/js/tinymce/plugins/charmap/plugin.min.js" !
    -rwx------+ 1 User - 23210 2019-01-30 05:19:51.000000000 +0900 ./wp-includes/js/tinymce/plugins/charmap/plugin.js
    -rwx------+ 1 User - 8601 2018-04-26 07:35:21.000000000 +0900 ./wp-includes/js/tinymce/plugins/charmap/plugin.min.js
    "./wp-includes/js/tinymce/plugins/colorpicker/plugin.js" is newer than "./wp-includes/js/tinymce/plugins/colorpicker/plugin.min.js" !
    -rwx------+ 1 User - 3561 2019-01-30 05:19:51.000000000 +0900 ./wp-includes/js/tinymce/plugins/colorpicker/plugin.js
    -rwx------+ 1 User - 1349 2018-04-26 07:35:21.000000000 +0900 ./wp-includes/js/tinymce/plugins/colorpicker/plugin.min.js
    "./wp-includes/js/tinymce/plugins/compat3x/plugin.js" is newer than "./wp-includes/js/tinymce/plugins/compat3x/plugin.min.js" !
    -rwx------+ 1 User - 9451 2020-01-29 09:45:18.000000000 +0900 ./wp-includes/js/tinymce/plugins/compat3x/plugin.js
    -rwx------+ 1 User - 4129 2018-04-26 07:35:21.000000000 +0900 ./wp-includes/js/tinymce/plugins/compat3x/plugin.min.js
    "./wp-includes/js/tinymce/plugins/directionality/plugin.js" is newer than "./wp-includes/js/tinymce/plugins/directionality/plugin.min.js" !
    -rwx------+ 1 User - 1892 2019-01-30 05:19:51.000000000 +0900 ./wp-includes/js/tinymce/plugins/directionality/plugin.js
    -rwx------+ 1 User - 857 2018-04-26 07:35:21.000000000 +0900 ./wp-includes/js/tinymce/plugins/directionality/plugin.min.js
    "./wp-includes/js/tinymce/plugins/hr/plugin.js" is newer than "./wp-includes/js/tinymce/plugins/hr/plugin.min.js" !
    -rwx------+ 1 User - 919 2019-01-30 05:19:51.000000000 +0900 ./wp-includes/js/tinymce/plugins/hr/plugin.js
    -rwx------+ 1 User - 428 2018-04-26 07:35:21.000000000 +0900 ./wp-includes/js/tinymce/plugins/hr/plugin.min.js
    "./wp-includes/js/tinymce/plugins/media/plugin.js" is newer than "./wp-includes/js/tinymce/plugins/media/plugin.min.js" !
    -rwx------+ 1 User - 37881 2019-01-30 05:19:51.000000000 +0900 ./wp-includes/js/tinymce/plugins/media/plugin.js
    -rwx------+ 1 User - 15064 2018-04-26 07:35:21.000000000 +0900 ./wp-includes/js/tinymce/plugins/media/plugin.min.js
    "./wp-includes/js/tinymce/plugins/wordpress/plugin.js" is newer than "./wp-includes/js/tinymce/plugins/wordpress/plugin.min.js" !
    -rwx------+ 1 User - 33820 2020-01-29 09:45:18.000000000 +0900 ./wp-includes/js/tinymce/plugins/wordpress/plugin.js
    -rwx------+ 1 User - 16472 2019-10-06 07:01:04.000000000 +0900 ./wp-includes/js/tinymce/plugins/wordpress/plugin.min.js
    "./wp-includes/js/tinymce/plugins/wpautoresize/plugin.js" is newer than "./wp-includes/js/tinymce/plugins/wpautoresize/plugin.min.js" !
    -rwx------+ 1 User - 5988 2020-01-29 09:45:18.000000000 +0900 ./wp-includes/js/tinymce/plugins/wpautoresize/plugin.js
    -rwx------+ 1 User - 2353 2019-10-06 04:49:10.000000000 +0900 ./wp-includes/js/tinymce/plugins/wpautoresize/plugin.min.js
    "./wp-includes/js/tinymce/plugins/wpdialogs/plugin.js" is newer than "./wp-includes/js/tinymce/plugins/wpdialogs/plugin.min.js" !
    -rwx------+ 1 User - 2439 2020-01-29 09:45:18.000000000 +0900 ./wp-includes/js/tinymce/plugins/wpdialogs/plugin.js
    -rwx------+ 1 User - 1322 2019-10-06 04:49:10.000000000 +0900 ./wp-includes/js/tinymce/plugins/wpdialogs/plugin.min.js
    "./wp-includes/js/tinymce/plugins/wpeditimage/plugin.js" is newer than "./wp-includes/js/tinymce/plugins/wpeditimage/plugin.min.js" !
    -rwx------+ 1 User - 25642 2020-01-29 09:45:18.000000000 +0900 ./wp-includes/js/tinymce/plugins/wpeditimage/plugin.js
    -rwx------+ 1 User - 12266 2019-10-06 04:49:10.000000000 +0900 ./wp-includes/js/tinymce/plugins/wpeditimage/plugin.min.js
    "./wp-includes/js/tinymce/plugins/wpemoji/plugin.js" is newer than "./wp-includes/js/tinymce/plugins/wpemoji/plugin.min.js" !
    -rwx------+ 1 User - 3580 2020-01-29 09:45:18.000000000 +0900 ./wp-includes/js/tinymce/plugins/wpemoji/plugin.js
    -rwx------+ 1 User - 1531 2019-10-06 04:49:10.000000000 +0900 ./wp-includes/js/tinymce/plugins/wpemoji/plugin.min.js
    "./wp-includes/js/tinymce/plugins/wpgallery/plugin.js" is newer than "./wp-includes/js/tinymce/plugins/wpgallery/plugin.min.js" !
    -rwx------+ 1 User - 3183 2020-01-29 09:45:18.000000000 +0900 ./wp-includes/js/tinymce/plugins/wpgallery/plugin.js
    -rwx------+ 1 User - 1654 2019-10-06 04:49:10.000000000 +0900 ./wp-includes/js/tinymce/plugins/wpgallery/plugin.min.js
    "./wp-includes/js/tinymce/plugins/wplink/plugin.js" is newer than "./wp-includes/js/tinymce/plugins/wplink/plugin.min.js" !
    -rwx------+ 1 User - 17605 2020-01-29 09:45:18.000000000 +0900 ./wp-includes/js/tinymce/plugins/wplink/plugin.js
    -rwx------+ 1 User - 8906 2019-10-06 07:01:04.000000000 +0900 ./wp-includes/js/tinymce/plugins/wplink/plugin.min.js
    "./wp-includes/js/tinymce/plugins/wptextpattern/plugin.js" is newer than "./wp-includes/js/tinymce/plugins/wptextpattern/plugin.min.js" !
    -rwx------+ 1 User - 8810 2020-01-29 09:45:18.000000000 +0900 ./wp-includes/js/tinymce/plugins/wptextpattern/plugin.js
    -rwx------+ 1 User - 3170 2019-10-06 04:49:10.000000000 +0900 ./wp-includes/js/tinymce/plugins/wptextpattern/plugin.min.js
    "./wp-includes/js/tinymce/plugins/wpview/plugin.js" is newer than "./wp-includes/js/tinymce/plugins/wpview/plugin.min.js" !
    -rwx------+ 1 User - 6083 2020-01-29 09:45:18.000000000 +0900 ./wp-includes/js/tinymce/plugins/wpview/plugin.js
    -rwx------+ 1 User - 2922 2019-10-06 04:49:10.000000000 +0900 ./wp-includes/js/tinymce/plugins/wpview/plugin.min.js
    

    Many thanks for providing the .min. file. Which file is correct?
    Don’t bother if you provide only the .min. file or the source. Should I just re-create the .min. File with the correct source just by looking at the timestamp?
    I think the developers are busy, but as far as the time stamps are concerned, I’m very worried.
    Thank you for taking the time.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not sure what your real worry is. I’m not a developer, but I’ll suppose files with older time stamps simply means those files haven’t changed since those time stamps.

    In some emergency security point releases, it’s not inconceivable to have just a single file or two changed, and all other files unchanged… therefore retaining their previous time staps.

    If I misunderstood your concern, kindly clarify.

    Thank you.

    Thread Starter Ujiki.oO

    (@ujikioo)

    Mr.! Thank you for your reply. Thank you for using your brain!

    Now, delivering 1-bit useless data to a visitor’s browser leads to global warming. It’s a waste of electricity at relay points in any internet network. Electricity is wasted even on the server that runs WordPress, and the browser caches data that is useless for the browser, and using the cache containing the useless data wastes power and wastes battery power. I will. I’m a 64 year old man, but can a young developer understand that even a bit of useless delivery is a problem for global warming? If you don’t understand, read my long WordPress article. https://www.facebook.com/ujiki.oo/posts/3256482351051074

    Yahoo / YUI COMPRESSOR and Google / CLOSURE-COMPILER are used for primary compression of all WordPress JavaScript (JS) and Style (CSS). We publish bash script and inspect it all at once. If you only have .min, it will automatically create the source and automatically check the timestamp and MD5. Simply send JS or CSS by right-clicking on Windows 10 to process JS with YUI COMPRESSOR and CLOSURE-COMPILER at the same time, and compare the file set with gzip secondary compression to use the one with smaller capacity.
    CLOSURE-COMPILER has a rule to change the variable name specified by JS typeof, so I think that YUICOMPRESSOR, which always treats undefined variables as global variables, is orthodox. I mentioned in the past about the existence of JS that YUICOMPRESSOR returns an error to WordPress, but even the latest WordPress does not improve. For example, WordPress still adopts and distributes the old jQuery that returns an error with YUI COMPRESSOR.

    By the way, in JS and CSS distributed in major version upgrade of WordPress, there is generally a source file full of comments for developers, and it is primary compressed with YUI COMPRESSOR or CLOSURE-COMPILER, The time stamps should be deliberately the same, or normally the time stamps in the .min file should be in the future.

    If the JS source file and the .min file are distributed with WordPress major version upgrade, is it necessary to verify which one WordPress should read? I put a special .htaccess to deliver the gzip file that browsers prefer, but if you gzip a .min file that has even a bit of useless data, it will still contain useless data!

    The bash script automatically checks for time stamp integrity, but the above report shows a non-time stamp consistent source and .min primary compression fileset. I want to know which is correct. If both are correct, I want to know which file the WordPress system goes to read. Copyright comments are useless for browsers. As the owner of WordPress, I just want to create and deliver a gzip file that is a little bit bit secondary compressed.
    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JS & CSS Send back time stamp of primary compressed file and source file?’ is closed to new replies.