zetland
Forum Replies Created
-
Forum: Plugins
In reply to: [Autoptimize] AO no longer excluding jQuery on homepageNice job Frank! Updated the code snippet and it’s all sorted now.
Forum: Plugins
In reply to: [Autoptimize] Remove unused CSSThanks Frank – do you know how I could track down these .css files though, so I know what they refer to? They’re not listed in the CriticalCSS section and Theme Editor etc. seems to show everything before Autoptimize kicks in…
Forum: Plugins
In reply to: [Autoptimize] Autoptimize not concatenating CSS or JavaScriptLooks like you were right. One last thing, I’ve noticed that my AO files often take a long time to load (usually more than 1000ms). Anything I can do to reduce this a bit? I’ll mark this as resolved after that.
Forum: Plugins
In reply to: [Autoptimize] Autoptimize not concatenating CSS or JavaScriptThink I’ve got it Frank!
Basically I changed this line:
define('WP_CONTENT_URL', '/wp-content');
to hard-code in my url:
define('WP_CONTENT_URL', 'https://vocularapp.com/wp-content');
Now it’s concatenated all these files. The only thing is that my HTML load time has shot up massively, like from 300 ms to 8000 ms. Any idea why this could be?
James
Forum: Plugins
In reply to: [Autoptimize] Autoptimize not concatenating CSS or JavaScriptCould this maybe be a clue? From my wp-config file:
//Relative URLs for swapping across app service deployment slots define('WP_HOME','https://vocularapp.com'); define('WP_SITEURL','https://vocularapp.com'); define('WP_CONTENT_URL', '/wp-content'); define('DOMAIN_CURRENT_SITE', filter_input(INPUT_SERVER, 'HTTP_HOST', FILTER_SANITIZE_STRING));
Forum: Plugins
In reply to: [Autoptimize] Autoptimize not concatenating CSS or JavaScriptHey Frank, did you get anywhere with this one?
Thanks,
James
Forum: Plugins
In reply to: [Autoptimize] Autoptimize not concatenating CSS or JavaScriptCool, thank you!
Forum: Plugins
In reply to: [Autoptimize] Autoptimize not concatenating CSS or JavaScriptOne thing I found yesterday which might help, when I installed the Cloudflare plugin and activated that, the plugin settings were completely blank.
Forum: Plugins
In reply to: [Autoptimize] Autoptimize not concatenating CSS or JavaScriptDid you have any luck with this?
Forum: Plugins
In reply to: [Autoptimize] Autoptimize not concatenating CSS or JavaScriptHi Frank,
I’ve emailed you the backup files this morning. Let me know if that works for you. If not, I’ll do what I can to get a Staging site set up. Thanks again for your help.
James
Forum: Plugins
In reply to: [Autoptimize] Autoptimize not concatenating CSS or JavaScriptOkay, my colleague’s now asking if we could send over the backup files. Would that work?
Forum: Plugins
In reply to: [Autoptimize] Autoptimize not concatenating CSS or JavaScriptWell, we’re running UpdraftPlus on the site. I’m happy to let you play around with the live site, just backup before you make the changes. Does that work for you?
Thanks,
James
Forum: Plugins
In reply to: [Autoptimize] Autoptimize not concatenating CSS or JavaScriptHi Frank,
Yeah, I changed the single quote marks because my HTML appeared like this in the browser:
<script type="text/javascript" src="/wp-content/plugins/jetpack/modules/wpgroho.js"></script>
So I was worried that
<script type='text/javascript' src='/wp-content
would not match anything. Not sure if that’s incorrect though? At any rate, thestr_replace
method didn’t work for me in either instance.Thanks,
James
Forum: Plugins
In reply to: [Autoptimize] Autoptimize not concatenating CSS or JavaScriptThanks for your amazing patience with this. I’ve added that code as via Code Snippets (although I had to swap the
"
with'
and vice versa to match my browser. I’m not seeing any differences though. Can you think of any reason why this might be? I’ve given it about 15 minutes to update, purged all my caches and done a hard refresh in Incognito…James
Forum: Plugins
In reply to: [Autoptimize] Autoptimize not concatenating CSS or JavaScriptHi Frank,
Thanks! I added this snippet to the AO code and then tried deactivating and reactivating it, looks like it’s not working yet though. Have I added the snippet to the wrong place?
James