Quantcast
Channel: WordPress.org Forums » [Autoptimize] Support
Viewing all 14039 articles
Browse latest View live

Text Compression for AO files

$
0
0

Replies: 1

I have to AO files that are not compressing that are associated with AO. I have tried unchecking ‘Save aggregated script/css as static files?’ but it does not seem to fix it. It also breaks my slider javascript. Not sure how else to try to fix.

The files are:
https://www.crestedbuttecollection.com/wp-content/cache/autoptimize/js/autoptimize_bfac499562d3d54c291a0d7d86ff1a35.js

https://www.crestedbuttecollection.com/wp-content/plugins/autoptimize/classes/external/js/lazysizes.min.js

Any help would be greatly appreciated.

Thanks,
Dustin


Issue with page

$
0
0

Replies: 4

Hello

I don’t want to cache twp pages of my website can you tell me how can i do so?, its very urgent for me.

Quick question about adsense ads

$
0
0

Replies: 2

Hi there,

I use all the minification settings – HTML, CSS, and JS. Do I need to exclude anything to get ads working?

Just worried as I’ve seen other people having issues on this forum. I am also worried they will bloat Autoptimizes cache.

I don’t use a plugin to load ads, they are built into my theme.

Thanks!

  • This topic was modified 1 hour, 23 minutes ago by giacomolaw.

Tons of duplicate CSS and JS?

$
0
0

Replies: 4

Hi there again,

Thanks for the great plugin. For some reason, I am getting tons of duplicate CSS and JS files in the cache?

https://imgur.com/a/pFd3LW7

I am not aggregating inline JS, however am using the Also aggregate inline CSS? option. I am also not using the HTML option.

I tried disabling this however it did not change after the cache clear.

How can I resolve this?

I am using WP Super Cache and Jetpack lazy loading along with this plugin for performance.

Thanks!

  • This topic was modified 46 minutes ago by giacomolaw.

Responsive Menu Conflicting with Autoptimize

$
0
0

Replies: 1

Hi,

I have been having some JS issues, when I activate Autoptimize plugin. The responsive menu does not seem to work when most of the plugin settings are activated. To troubleshoot it, I followed this chain, and I was able to narrow down the settings that were causing problems.

When I enable “Force JavaScript in <head>?” or “Add try-catch wrapping?” setting, it breaks the mobile menu. The users on mobile can’t seem to access the drop down menu when these two settings are activated. “Add try-catch wrapping” happens to be an important setting as it really helping my increase my page speed. If anyone can help, it would be much appreciated.

Thanks,

Lazy load not catching all images?

$
0
0

Replies: 0

Hi there,

I’ve been trying out the new lazy loading functionality, but it doesn’t seem to pick up all the images I have. At first I thought it was due to some custom blocks I’m working with, but on closer inspection it seems that it does include some of those, and some of the ones it’s excluding are in a core block.

(In the linked page, you can see a bunch of blocks I was testing with. The images that are apparently not being lazy-loaded are the second and third slider images, and those in the three-column block after Media & Image.)

Is there perhaps some class I can add to these to “hint” at Autoptimize that they should be lazy-loaded?

(EDIT: I also seem to have the “some images don’t load at all” problem that somebody else described earlier. In my case, it’s the header image (chosen in the standard theme customiser) and the images loaded remotely through the Instagram block.)

Thanks!

  • This topic was modified 2 hours, 2 minutes ago by Fox Lee. Reason: More info

Gzip, Expire Headers, Inline CSS/JS

$
0
0

Replies: 1

Hi,

I’m unsure on how to get Gzip running. Your FAQ is a bit short to just enable an option as I don’t know how to. After googling a bit around, I found, it should be done with functions.php or additional plugin Code Snippets and adding there add_filter(‘autoptimize_filter_cache_create_static_gzip’,’__return_true’); and after doing that I recognized (maybe also had been done before) .gz files have been created, but I did not saw them been used? Scripts and Styles are still loading the non-gz files? Any additional changes needed (used Super Cache to test it).

Also I got errors by changing W3TC to Super Cache and Autoptimize and worser scores as Expire Headers aren’t set for images as well as for the Autoptimize CSS and JS. Doesn’t Autoptimize offer such an option?

I tried around because I want to remove Emoji-Code as well as Google Fonts (or integrate them by caching them local) but primary because of CSP issues with inline JS and inline CSS and hoped activating aggregate would move them all out to external files, but either after activating I need to purge any additional caches or inline JS and inline CSS isn’t moved to external files? Also I tried to integrate jscript.js, you state that popular plugins use jscript.js, but which ones are using jscript.js? There was no list of such ones.

Regards,
Christian

Passive Listeners & Autoptimize

$
0
0

Replies: 0

Hi Frank!

One question:

If we scan our site https://www.hello-world.net/camino-portugues/ with the Google DevTool we got the following message:

“Does not use passive listeners to improve scrolling performance” and it shows us an autoptimize cache-file.

is there a way to get rid of this message?

best regards from Germany
Nico


CriticalCSS

$
0
0

Replies: 2

I use `add_filter(‘autoptimize_filter_css_replacetag’,’te_css_replacetag’,10,1);
function te_css_replacetag($replacetag) {
return array(“</body>”,”before”);
}` to move css below
but criticalCSS is also moving below. How to leave criticalcss in the head?

Does AutoOptimize replace need for Lazy loadplugins like a3?

$
0
0

Replies: 0

Does AutoOptimize replace need for Lazy loadplugins such as a3 or is it complimentary to lazy loading plugins?

Thanks ahead of time for reading and responding.
🙂

Can I lazyload iframe script with Autoptimize?

$
0
0

Replies: 1

Autoptimze can lazyload images, so does it lazyload iframe?

Images disappear

$
0
0

Replies: 0

Hello,

I have a problem with the plugin. I got some better performance but all the images in my header disappeared as well as the images I use as a background for some revolution slider I use.
like here:
[ redundant link removed ]

And if I async jquery also all the galleries Justified image grid galleries disappear.

I don’t know what I did wrong or how to fix the problem.

Autoptimize Version 2.5.0 . Here: New feature Lazy Load

$
0
0

Replies: 8

Hey Frank!

I think we want to dare to update our Autoptimze to the new version 2.5.0 with the interesting new function lazy load.

We are using the plugin “Unite Gallery” as you can see here at this specific site:

[ redundant link removed ]

I did not know how Unity Gallery works technically and before we update we want to ask how is your opinion how these both plugins work together with the new feature lazy load? Or should we wait for 2.5.1 .-)

thnx for destroy my uncertainty .-)

best regards
Nico

  • This topic was modified 1 hour, 7 minutes ago by Nico Marcuz.
  • This topic was modified 43 minutes ago by Jan Dembowski.

Problem with LayerSlider when activating Shortpixel

$
0
0

Replies: 0

Hi there,

I think the last or one of the most recent updates changed something that broke some images in the LayerSlider that comes with the Enfold theme.

This is how it is supposed to look: https://mondiale.de/testumgebung/frontpage_ok.PNG
This is how it looks: https://mondiale.de/testumgebung/frontpage_broken.PNG

It only affects the LayerSlider, everything else is still working as intended.

You can have a look at the broken version here, which is a staging site: https://www.mondiale.de/testumgebung/de/

For now, the only fix is to disable the Shortpixel image optimization.

Help would be appreciated. Thanks!

Cheers
Mischa

Website doesnt load CSS in mobile (autoptimize)

$
0
0

Replies: 0

Hi, I have installed the autoptimize plugin and have a problem with my site madereria.com.mx in mobile doesn’t load the CSS, after refresh its on, can u help me with the issue?

Thanks

  • This topic was modified 1 hour ago by oscarga.

W3C Validation – srcset attribute

$
0
0

Replies: 0

Hi Frank I noticed this W3C error inside the noscript tag of each image after enabling image lazyload

The sizes attribute may be specified only if the srcset attribute is also present.

It is also present in your website. So what if srcset existed inside the noscript? Would it cause any trouble that I’m not aware of?

Exclude JS

Facebook Pixel Optimization

PHP 7.3 Support (PHP Deprecated: strpos())

$
0
0

Replies: 5

I’m getting lots of these errors after upgrading to PHP 7.3.

FastCGI sent in stderr: "PHP message: PHP Deprecated: strpos(): Non-string needles
will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in
/var/www/domain.com/html/wp-content/plugins/autoptimize/classes/autoptimizeExtra.php on line 161" while reading response header from
upstream

I’m on a nginx server.

Thanks!

Autoptimize and JSON-LD Syntax Error

$
0
0

Replies: 1

Hi there,

I’ve been using Autoptimize for a long time and it’s been nothing but helpful. This is the first time I’ve had to ask for help.

This morning I received a Google notification that one of my blog posts had unparsable structured data. I still have very limited knowledge about these things, so I apologize in advance if this is not accurate – but, it appears that something from Autoptimize is possibly conflicting with my JSON-LD output.

When I test my structured data in Google’s testing tool, I receive this error: Syntax error: value, object or array expected. And when I click on this error, it jumps to this part of my markup:

<script type=’application/ld+json’ class=’yoast-schema-graph yoast-schema-graph–main’>var aoDeferInlineJQuery=function()

I’m not sure if this is supposed to be there or not, but something about it is causing issues.

When I tested the same blog post in Yandex’s structured data tool, it gave me the same error and referred to the same part of my markup.

I should also note that I have Autoptimize set to exclude jQuery.

The link to the affected page is attached. Your help is very much appreciated, and thanks for a great plugin.

Thank you,
Kyla

Viewing all 14039 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>