Title: Forket's Replies | WordPress.org

---

# Forket

  [  ](https://wordpress.org/support/users/forket/)

 *   [Profile](https://wordpress.org/support/users/forket/)
 *   [Topics Started](https://wordpress.org/support/users/forket/topics/)
 *   [Replies Created](https://wordpress.org/support/users/forket/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/forket/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/forket/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/forket/engagements/)
 *   [Favorites](https://wordpress.org/support/users/forket/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 31 total)

1 [2](https://wordpress.org/support/users/forket/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/forket/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/forket/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[EWWW Image Optimizer] WebP and CDN](https://wordpress.org/support/topic/webp-and-cdn/)
 *  Thread Starter [Forket](https://wordpress.org/support/users/forket/)
 * (@forket)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/webp-and-cdn/#post-6535320)
 * Solved situation. Just for information, now even with cdn you don’t need Advanced
   WebP rewriting. 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[EWWW Image Optimizer] WebP and CDN](https://wordpress.org/support/topic/webp-and-cdn/)
 *  Thread Starter [Forket](https://wordpress.org/support/users/forket/)
 * (@forket)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/webp-and-cdn/#post-6535312)
 * I’ve found how to fix plugin. now lets find how to show webp images on site.
   
   I use Amazon CDN and now they support Accept headers. For example, if you will
   check next command, if will return webp content-type. `curl -D - -H "Accept: 
   image/webp" http://cdn1.expedition.pm/wp-content/uploads/2015/06/KM_APP_ICON_1024x1024.
   jpg -o /dev/null`
 * Now, this means that I can use webp images with CDN even without **Advanced WebP
   rewriting**, right? and the only issue left it’s how to make your load_webp.JS
   to handle img src.
 * Take a look at [http://www.expedition.pm/](http://www.expedition.pm/)
    There 
   is your load_webp.js script which is in combined include_footer.js but it doesn’t
   replace jpg/png to webp
 * How to make images to use webp?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[EWWW Image Optimizer] WebP and CDN](https://wordpress.org/support/topic/webp-and-cdn/)
 *  Thread Starter [Forket](https://wordpress.org/support/users/forket/)
 * (@forket)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/webp-and-cdn/#post-6535297)
 * OK. Let’s forget about htaccess and follow topic.
    What actually Advanced WebP
   rewriting do? Because for now I know that Cloudfront has ability to work with
   needed headers for webp: [http://friism.com/webp-content-negotiation-cloudfront](http://friism.com/webp-content-negotiation-cloudfront)
 * Because for now when I switch it on my site hangs (i’ve had to rename plugin 
   in order to disable it)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Not mimified with minify switched ON](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/)
 *  Thread Starter [Forket](https://wordpress.org/support/users/forket/)
 * (@forket)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/page/3/#post-6538267)
 * I don’t know how to reach plugin author 🙂 I thought that he reads this topic
   🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Not mimified with minify switched ON](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/)
 *  Thread Starter [Forket](https://wordpress.org/support/users/forket/)
 * (@forket)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/page/2/#post-6538264)
 * About mechanism used for minification. In sources i’ve found library used for
   minification by default. it’s JSMin-PHP. I’ve followed by link from copyrights
   and found that this [project stopped](https://github.com/rgrove/jsmin-php). Here
   are author words:
 * > This project is unmaintained. I stopped using it years ago. You shouldn’t use
   > it. You shouldn’t use any version of JSMin. There are much better tools available
   > now.
   >  Here are some of them:
    - Uglify
    - Google Closure Compiler
    - JShrink
 * So based on this, don’t you think that it’s a good time to change default minification
   lib to some from purposed?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Not mimified with minify switched ON](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/)
 *  Thread Starter [Forket](https://wordpress.org/support/users/forket/)
 * (@forket)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/page/2/#post-6538263)
 * Point 1: Ok. About minification mechanism I’ll try to find out how to configure
   it.
 * Point 2: About JS. [Here is](https://www.dropbox.com/s/9snoinentlc0m20/SnapShot%20N001_2015-09-13_18-09-30.png?dl=0)
   what GT tells me. As for example let’s take a look at JS in BODY.
 * [Version1 ](https://www.dropbox.com/s/kkn2q75gpjois7r/default.include-body.js?dl=0)–
   this is minified by **W3TC **file.
    [Version2](https://www.dropbox.com/s/fwvxnyw72i4u0m4/default.include-body2.js?dl=0)–
   this is file minified **by GT**. as they tell from screenshot above there are
   934 bytes available for compression. I’ve tried to compare this files with WinMarge
   utility and got interesting thing. On these document opening i’ve got notification
   about difference in _carriage return breaks_ ([screenshot](https://www.dropbox.com/s/7ehxozvzhqjqc0p/SnapShot%20N001_2015-09-13_17-27-39.png?dl=0)).
   And when opened I got [such picture](https://www.dropbox.com/s/r5fbyjwlpnuoh32/SnapShot%20N001_2015-09-13_17-26-34.png?dl=0).
 * **CONCLUSION**: From this I can see that W3TC minification doesn’t remove line
   breaks (even with this option ON). For me it’s quite difficult to find the reason
   of this behavior (as also with comments removal described in previous posts).
   Anyway I’ll try.
 * **Together this my ask is**: could you be so kind and also make some investigation
   and fixes if needed.
    Thanks for your support, and effective, fast communication.
   I believe that together with users we can make this plugin better and better.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Not mimified with minify switched ON](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/)
 *  Thread Starter [Forket](https://wordpress.org/support/users/forket/)
 * (@forket)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/page/2/#post-6538249)
 * And Q2: [Here is](https://www.dropbox.com/s/kkn2q75gpjois7r/default.include-body.js?dl=0)
   minified JS (GT metrix also tells that it should be minified) and minification
   is OK but there are comment sections which were not removed by W3TC (I have comment
   removal ON)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Not mimified with minify switched ON](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/)
 *  Thread Starter [Forket](https://wordpress.org/support/users/forket/)
 * (@forket)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/page/2/#post-6538248)
 * Yeah, I understand that 120B it’s OK and not a problem. But just a curious where
   they found this bytes.
    Togather with this GTmetrix provides their version of
   minified file. I want to take that and mine and find some tool to compare files
   and find difference.
 * Also question, is there is W3TC files some place where minification process can
   be configured?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Not mimified with minify switched ON](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/)
 *  Thread Starter [Forket](https://wordpress.org/support/users/forket/)
 * (@forket)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/page/2/#post-6538232)
 * Finally, i’ve decided to minify JS files myself. Will tell theme author to minify
   it in future versions.
    For now I have last strange thing. [Here is](https://www.dropbox.com/s/p784sc6hmo7mrgx/default.include.9ec3af.css?dl=0)
   minified by W3TC file. But GTMetrix tells me that it’s [not minified](https://www.dropbox.com/s/jw6xf67revpvzbg/SnapShot%20N001_2015-09-13_08-06-24.png?dl=0).
   Am I right, that issue is with minification mechanism used by W3TC? Can it be
   improved?
 * The same thing is about JS minified files and minified HTML.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Not mimified with minify switched ON](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/)
 *  Thread Starter [Forket](https://wordpress.org/support/users/forket/)
 * (@forket)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/page/2/#post-6538218)
 * But in this case why GTmetrix tells me that files are not minified?
    Most of 
   all, as you saw JS file in head is minified, but GTmetrix tells it’s not :-\ 
   i’m confused
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Not mimified with minify switched ON](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/)
 *  Thread Starter [Forket](https://wordpress.org/support/users/forket/)
 * (@forket)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/page/2/#post-6538213)
 * Most of all, in BODY section there is avia.js (not avia-compat.js as above) which
   also has “use strict”. But chrome don’t throw any error as before.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Not mimified with minify switched ON](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/)
 *  Thread Starter [Forket](https://wordpress.org/support/users/forket/)
 * (@forket)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/page/2/#post-6538212)
 * 1. Thanks for explanation and your time. Now I understand that defer suits me
   well.
    2. About bootstrap. in this case why there are comments and new lines?(
   i’ve put both options ON to remove it). Because of this I think that minification
   process not minifies this files in BODY and not thrown any errors. :-\ I believe
   there is some hidden sh*t
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Not mimified with minify switched ON](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/)
 *  Thread Starter [Forket](https://wordpress.org/support/users/forket/)
 * (@forket)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/page/2/#post-6538208)
 * About monification in BODY.
    the first script in BODY is bootstrap “wp-content/
   themes/enfold-child/vendors/bootstrap/3.3.5/js/bootstrap.min.js”, which is already
   minified in source file. But strange situation is that when W3TC minifies scripts
   this bootstrap script becomes UNminified (as you can see from screenshot) Mysterious
   situation.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Not mimified with minify switched ON](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/)
 *  Thread Starter [Forket](https://wordpress.org/support/users/forket/)
 * (@forket)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/#post-6538207)
 * And what in your opinion is best method for non-blocking way? “Defer”?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[W3 Total Cache] Not mimified with minify switched ON](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/)
 *  Thread Starter [Forket](https://wordpress.org/support/users/forket/)
 * (@forket)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/not-mimified-with-minify-switched-on/#post-6538202)
 * Take a look at [screenshot ](https://www.dropbox.com/s/9lquwphmfhb1trx/SnapShot%20N001_2015-09-12_20-32-46.png?dl=0)

Viewing 15 replies - 1 through 15 (of 31 total)

1 [2](https://wordpress.org/support/users/forket/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/forket/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/forket/replies/page/2/?output_format=md)