Hi there,
first congratulations for this amazing plugin. I have used everything out there and this is not the my favourite because it simplicity, and its performance, at least in my case, using APH-Merge-Scripts makes my website load almost 1 second faster than using AutoOptimize.
Said this, I must say that Show Manage Scripts is not working properly.
The ability to manage the scripts page by page seems amazing, and when you uncheck the script you don’t want to load in a page, the plugin is registering it in the script-handles.txt file. I checked it, and if I am not wrong and that is the correct behaviour, actually it is working. But, unfortunately, when you clean the caché, those files that you have exclude are included again in the script-handles.txt, and in the merged finally file by the plugin, so it doesn’t work.
Maybe I have understood wrong your code, but I have even tried to include those files by hand in the file aphms-front.php around line 353 in the case of the css files with the function wp_deregister_style(), and around line 457 with the function wp_deregister_script() with no success.
Summing up, or I am doing something wrong, or none of those functions are working properly and are not deregistering nothing.
My only problem with APHM is one of my pages where I am using a photo gallery plugin called AutoGrid which is amazing by the way. So, the only way I have found to using that gallery with APHM was to make a mu-plugin to directly exclude APHM from that page.
But, obviously I would be happy to use it as well in that page.
Any idea about how to solve this issue? Or do you can help me to manually exclude those files from being managed by aphm plugin?
Two last things…
1) I have a function in my functions.php file to dequeue the devicepx.js file, but I do not know why, this file is being included anyway in the merged file.
2) I suggested to you doing a kind of little manual about how to use the Show Manage Scripts in admin bar. Actually I have been using your plugin in other sites with success, and I have only heard about this ability because one comment made by a user in this support system. Maye my problem is that the system is not working, otherwise, maybe the info need to be improved for people like me.
When are you going to add the ability to manage as well the css files in that bar? It would be amazing as well if it works properly.
Sorry for the long message, and really thank you so much for this great plugin.
Just Looking for your feedback asap!
]]>HI there,
first to say you congratulations for your plugin. I’m using on every installation I do with wordpress, and by the moment I am very, very happy with the results.
Just a little thing… The merged .js file always show a leverage-browser-caching notice in GTMetrix. It seems that as the files is generated on the fly my htaccess is not working with the generated file. Please, see the notice below:
——
Leverage browser caching for the following cacheable resources:
https://mysite.com/wp-content/plugins/aph-merge-scripts/merged/merged-script-1532987345.js (2 days 12 hours)
——–
All my javascript files are fixed to the following cache and expiring values in htaccess:
Header set Cache-Control “max-age=216000, private”
ExpiresByType text/javascript “access plus 1 year”
ExpiresByType application/javascript “access plus 1 year”
ExpiresByType application/x-javascript “access plus 1 year”
Is there any way to apply a longer value to the cache-control tag?
Thanks in advance,
Alberto
]]>This “notice” is showing up the backend but worse also on top of the home page. No idea whats the matter. I am running WordPress 4.9.4.
Can you help?
Thanks
Cesare
Hi there,
I have been using this plugin for the past few days to speed up my site as there are lots of external javascript requests that slow down the site.
However, after using the plugin, one of my scripts which runs ads on my site is no longer working and I can’t figure out why. Can you please help me undo the merged JS and restore it to the original state?
Thanks
Shyam
]]>Hi,
I’ve tried Comet Cache and WP Super Cache but if this plugin regenerate merged files it won’t clear cache pages. Is there anyway how to clear cache when files are marged? I found some clear turioals on Comet Cache pages it would be also on WP Super Cache but it wasn’t working for me. Can you provide some solution pls? I think lot of us using cache plugins and this plugin is useless if it’s not colaborate with them.
Thank you.
Hi there,
I am using the latest version of this plugin (Version 1.3.1) and the front end of my site is broken
Errors I get
GET https://aussiemademailboxes.com.au/wp-content/plugins/aph-merge-scripts/merged/merged-style-1481767448.css
(index):74 GET https://aussiemademailboxes.com.au/wp-content/plugins/aph-merge-scripts/merged/merged-script-1481724794.js 404 (Not Found)
But, when viewing the site as an administrator, there seems to be no issues at all
Here is my site: https://aussiemademailboxes.com.au/products/
Can someone help me please?
]]>Hi
I have found a bug (css and js files both with .js extension) and here is the fix:
aphms-admin.php : line 603
$file_ext = ($type == 'script' ? '.js' : '.css');
$file_merged_url = APHMS_PLUGIN_URL . '/merged/merged-' . $type . '-' . $this->options['curr_handles'][$type]['time'] . $file_ext;
]]>
Today I’ve had a serious problem that I think should be fixed urgently. Here’s my situation:
And here’s why: the APH plugin detected that the merged file needed to be regenerated (cache age). So it deletes the old file and creates the new one. But, when a user enters the page and my server serves the website from the cache, the old merged styles are not there anymore!
And that will continue happening until the W3 Total Cache refreshes the static files. So there is a period of desynchronization where my website has no css file to render.
So, the solution would be to add an option (or hardcoded) to keep some of the old merged files as backup, so the cached version of the website can work.
I must say that I’m in love with this plugin ??
Hope this helps,
Regards!
See the attached image: https://postimg.org/image/6b6u0e65x/
Regards!
]]>Hi,
I really love how this plugin works. Especially since I’ve been unable to make any merge plugin work on my site.
But I’m having problems as some of the files I use are retrieved from a subdomain I use to serve static files. The problem is that I need to avoid merging some of those files and without that option, the plugin breaks my website.
I could use my website to serve the static files again so I can use your plugin but I would really love that you update it so it can detect subdomains as own files.
Thanks for your efforts you put in this plugin.
Regards!
Agus
Welcome to WordPress and thank you for your 3 new plugins.
I have a complex site including a blog, chat room, and forum.
I tried better wp minify, wp super minify, bncombine, jch optimise, wp minify fix, fast velocity minify, and merge minify refresh. None of them worked out of the box, all created bugs, and MMR completely destroyed my install.
Your plugin however worked right out of the box and significantly improved my page score and yslow score.
Keep up the good work. It is obvious you are a bright young man (with a great future) and I am sure that in a little time this plugin will be one of the most popular minify plugins in the WordPress repository.
Now a few questions:
1. I want to use the cloudflare CDN (it is provided free via the cpanel on my hosting) is you plugin compatible to use with cloudflare?
2. I am not sure how to deal with the white non-auto detected scripts that show up in the drop down on each page. Is it better to tick them all and see if nothing breaks. Or should I just leave them unticked?
Thanks again for your great plugin.
Kind Regards
Max
]]>