Title: TheRiddler1982's Replies | WordPress.org

---

# TheRiddler1982

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] CSS und JS tree-shaking](https://wordpress.org/support/topic/css-und-js-tree-shaling/)
 *  Thread Starter [TheRiddler1982](https://wordpress.org/support/users/theriddler1982/)
 * (@theriddler1982)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/css-und-js-tree-shaling/#post-11844335)
 * I totally understand your arguments about not going that road. It’s quite a dirty
   one and this is something I would only do on a custom setup.
 * Going for my own, I can just scan the cached html files, analyse the used JS 
   and CSS files, write out the optimized versions and adjust the filenames in the
   original cached HTML files. Are there any side effects if I do it that way?
 * I’ll mark that thread as closed 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] CSS und JS tree-shaking](https://wordpress.org/support/topic/css-und-js-tree-shaling/)
 *  Thread Starter [TheRiddler1982](https://wordpress.org/support/users/theriddler1982/)
 * (@theriddler1982)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/css-und-js-tree-shaling/#post-11844287)
 * Thanks for clearing 2.) up. The answer is yes.
 * Do you think that this could work? Do you think this is something to be considered
   for Autoptimize itself? Of course, trying to find a solution how to wrap webpack
   in php.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] CSS und JS tree-shaking](https://wordpress.org/support/topic/css-und-js-tree-shaling/)
 *  Thread Starter [TheRiddler1982](https://wordpress.org/support/users/theriddler1982/)
 * (@theriddler1982)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/css-und-js-tree-shaling/#post-11844203)
 * Hi Frank,
 * thanks for the quick reply.
 * 1.) I’m not sure about that. I haven’t found anything yet. In Angular, JS tree-
   shaking it’s part of the production build. CSS requires additional attention 
   with webpack. MAybe there is something like a wrapper of NodeJS to PHP to make
   it happen in PHP. A very very ugly solution for users with root server access
   would be to have a cron job running on the autoptimize cache folder.
 * 2.) I cannot speak for WordPress but in the Angular context, CSS and JS code 
   is not inlined during development. But for the long run, if such code is present
   inline, it should be considered, too.
 * 3.) I have a counter-question: how does your plugin do it :-)? The cache folder
   have several js and css files with hashed postfixes. Is a cache file create for
   each post/site? Ideally, best performance would be to have common file which 
   covers the minimum requirements for all posts and pages and a delta file adding
   additional topics on each context.
 * I came up with it as I have analyzed the coverage of my page with Google Chrome.
   92% of my CSS and JS code (1 MByte) in total is not used. And it starts with 
   just basics like inserting all.css from font-awesome by some plugins.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] Panopress plugin doesn't work with version 1.9.9 (2.0 Beta)](https://wordpress.org/support/topic/panopress-plugin-doesnt-work-with-version-199-20-beta/)
 *  Thread Starter [TheRiddler1982](https://wordpress.org/support/users/theriddler1982/)
 * (@theriddler1982)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/panopress-plugin-doesnt-work-with-version-199-20-beta/#post-6875904)
 * Hi Frank,
 * didn’t know that. Wasn’t sure if the new plugin has less files and those files
   are not deleted by overwriting (I like to have a tidy server :-)).
 * I’ll definetely enjoy it, you too 🙂
 * Sven
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] Panopress plugin doesn't work with version 1.9.9 (2.0 Beta)](https://wordpress.org/support/topic/panopress-plugin-doesnt-work-with-version-199-20-beta/)
 *  Thread Starter [TheRiddler1982](https://wordpress.org/support/users/theriddler1982/)
 * (@theriddler1982)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/panopress-plugin-doesnt-work-with-version-199-20-beta/#post-6875901)
 * Hi Frank,
 * that is exactly how I did it: deactivate AO 1.9.4, removed the files from the
   plugins directory and downloaded it from [https://downloads.wordpress.org/plugin/autoptimize.zip](https://downloads.wordpress.org/plugin/autoptimize.zip).
 * I didn’t see any update possibility within the WordPress plugin manager. What
   is the right way to update?
 * Sven
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] Panopress plugin doesn't work with version 1.9.9 (2.0 Beta)](https://wordpress.org/support/topic/panopress-plugin-doesnt-work-with-version-199-20-beta/)
 *  Thread Starter [TheRiddler1982](https://wordpress.org/support/users/theriddler1982/)
 * (@theriddler1982)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/panopress-plugin-doesnt-work-with-version-199-20-beta/#post-6875898)
 * Hi Frank,
 * “aggregate inline JS” fixed it :-). Thanks!
 * Panopress embeds HTML5/flash panoramas which have been created with krpano ([http://www.krpano.com/](http://www.krpano.com/))
   using shortcodes in your post. Panopress is free of charge but has not yet been
   updated since 2 years ([http://www.panopress.org/](http://www.panopress.org/)).
 * So, nothing else remains 🙂
 * Bye,
    Sven
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] Mobile theme does not use JS file from Autoptimize](https://wordpress.org/support/topic/mobile-theme-does-not-use-js-file-from-autoptimize/)
 *  Thread Starter [TheRiddler1982](https://wordpress.org/support/users/theriddler1982/)
 * (@theriddler1982)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/mobile-theme-does-not-use-js-file-from-autoptimize/#post-6852976)
 * Hi Frank,
 * I found the problematic plugin. W3 Total Cache messed up. I have replaced it 
   WP Rocket and it seems to work now. Second, jQuery was not excluded from optimization.
   That’s the reason why the animations didn’t work. So, I have to live with that:-).
 * I have something else which popped up with Beta 2. I’ll start a new thread about
   it.
 * Thanks,
    Sven
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] Contact Form JavaScript is not included in optimization](https://wordpress.org/support/topic/contact-form-javascript-is-not-included-in-optimization/)
 *  Thread Starter [TheRiddler1982](https://wordpress.org/support/users/theriddler1982/)
 * (@theriddler1982)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/contact-form-javascript-is-not-included-in-optimization/#post-6852975)
 * Hi Frank,
 * I spent a lot of time trying to figure it out, but I can’t. What I’ve done is
   that I have defined all Javascript files to be loaded deferred (excluding jQuery).
   so, Google Pagespeed does not bother now. I have mod_pagespeed installed to make
   the minification. So no issues there. Once I have more time, I’ll reinstall everything
   from scratch (will never happen :-)).
 * Please close the thread as your plugin works fine 🙂
 * Bye,
    Sven
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] Mobile theme does not use JS file from Autoptimize](https://wordpress.org/support/topic/mobile-theme-does-not-use-js-file-from-autoptimize/)
 *  Thread Starter [TheRiddler1982](https://wordpress.org/support/users/theriddler1982/)
 * (@theriddler1982)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/mobile-theme-does-not-use-js-file-from-autoptimize/#post-6852927)
 * Hi Frank,
 * thanks for checking it. I am already in touch with the Download Manager developers
   as it seems the problem here. As promised I let you know once I played every 
   scenario on my dev environment.
 * Sven
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] Mobile theme does not use JS file from Autoptimize](https://wordpress.org/support/topic/mobile-theme-does-not-use-js-file-from-autoptimize/)
 *  Thread Starter [TheRiddler1982](https://wordpress.org/support/users/theriddler1982/)
 * (@theriddler1982)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/mobile-theme-does-not-use-js-file-from-autoptimize/#post-6852896)
 * Hi Frank,
 * thanks for your answer. I do not have any access to my development area right
   now. But I can do that tomorrow or Friday latest. I’ll come back to you once 
   I have figured it out. If you like, you can close the ticket as other problems
   are causing issues :-).
 * Thanks,
    Sven
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] Contact Form JavaScript is not included in optimization](https://wordpress.org/support/topic/contact-form-javascript-is-not-included-in-optimization/)
 *  Thread Starter [TheRiddler1982](https://wordpress.org/support/users/theriddler1982/)
 * (@theriddler1982)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/contact-form-javascript-is-not-included-in-optimization/#post-6852892)
 * Hi Frank,
 * thanks for your feedback. Can you think of any constellation when Autoptimize
   stops processing the CSS/JS minification and aggregation? This is happening in
   my place. Some conflict breaks it.
 * Should I “trigger” this constellation on my site?
 * Thanks,
    Sven
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] Mobile theme does not use JS file from Autoptimize](https://wordpress.org/support/topic/mobile-theme-does-not-use-js-file-from-autoptimize/)
 *  Thread Starter [TheRiddler1982](https://wordpress.org/support/users/theriddler1982/)
 * (@theriddler1982)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/mobile-theme-does-not-use-js-file-from-autoptimize/#post-6852849)
 * Hi Frank,
 * this error relates to the Beta 2 only. When I have 1.9.4 running, only the autoptimize
   js and some inline js are loaded. Everything works fine. When 1.9.9 is on, JS
   files are duplicated. When I remove the automize JS in the developer tools, the
   side works again.
 * This is only a phenomenon on the mobile site (WPTouch). The Desktop version works
   perfectly :-).
 * I hope you can figure out what is causing this because the new plugin is so awesome
   fast in generating the CSS and JS files! Good job!
 * I have now 1.9.4 active. Please give me a quick reply tomorrow and I will install
   beta 2 again.
 * Thanks,
    Sven
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] Contact Form JavaScript is not included in optimization](https://wordpress.org/support/topic/contact-form-javascript-is-not-included-in-optimization/)
 *  Thread Starter [TheRiddler1982](https://wordpress.org/support/users/theriddler1982/)
 * (@theriddler1982)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/contact-form-javascript-is-not-included-in-optimization/#post-6852847)
 * Hi Frank,
 * no problem :-).
 * What I have found out so far: the error occured after I have disabled the WordPress
   Download Manager as a plugin. Once it is back online, the scripts disappear. 
   Also, other Javascript doesnot work when I have disabled the plugin. I have no
   idea what is causing this. So, I don’t think that it is a Autoptimize thing (
   maybe jQuery conflict?).
 * Unless you have a quick idea, shoot ahead anyway. Now, I have reactivated the
   plugin, so you won’t see anything. Just drop a quick response and I can rearrange
   it.
 * About version2, I’ll give you an answer in the other thread as this relates to
   the beta.
 * Thanks,
    Sven
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Autoptimize] Mobile theme does not use JS file from Autoptimize](https://wordpress.org/support/topic/mobile-theme-does-not-use-js-file-from-autoptimize/)
 *  Thread Starter [TheRiddler1982](https://wordpress.org/support/users/theriddler1982/)
 * (@theriddler1982)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/mobile-theme-does-not-use-js-file-from-autoptimize/#post-6852806)
 * Hi,
 * sorry, I think it is loaded but also the original JS files are available.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery] Disable social network buttons in responsive design](https://wordpress.org/support/topic/disable-social-network-buttons-in-responsive-design/)
 *  Thread Starter [TheRiddler1982](https://wordpress.org/support/users/theriddler1982/)
 * (@theriddler1982)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/disable-social-network-buttons-in-responsive-design/#post-6799785)
 * [https://ziin.de/Social_Buttons.png](https://ziin.de/Social_Buttons.png) should
   now work again, if you want to see it directly.
 * Thanks!

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

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