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

CDN Issue With Background Images

$
0
0

Replies: 0

I”m using AO on a site built with Beaver Builder. I have a row with 3 columns, each having a separate background image.

The first background image displays correctly with the correct URL:

https://cdn.mysite.com/wp-content/uploads/image1.png

However, the other two columns in the same row (and created identically to the first) are not being rendered correctly and have an incorrect URL when the CDN is activated:

https://cdn.mysite.comhttps://cdn.mysite.com/wp-content/uploads/image2.png

For some reason the CDN URL is appended so it’s being output twice.

Again, all 3 images are rendered identically so I can’t pinpoint what’s going on. If I turn off the CDN and look at the underlying code, they are the same (except for the actual image file being different).

I’ve tried entering the CDN url using both https://cdn.mysite.com and //cdn.mysite.com.

The output for CSS and JS is working just fine. It’s only background images.

Thanks


Aggregate CSS changing font in body of posts

$
0
0

Replies: 0

I just started using Autoptimize on my website. I’m using a Genesis child theme called Foodie Pro. It uses Google fonts. I checked “leave as is” for Google fonts.
When I check the box for Aggregate CSS files, it changes the font in the body of my blog posts. The font and style for the headers and sub-headers looks the same, but the font for the text of the post looks different.
For now I unchecked the box to get my website back to normal. I’m not very tech-savvy and appreciate any help. Thank you so much!

Conflict with WordFence?

$
0
0

Replies: 0

Hey-

Today I got an email from Wordfence with my home IP address listed as the source of two “Recently Blocked Attacks,” the details of which include the following:

Blocked for XSS: Cross Site Scripting in POST body: autoptimize_imgopt_settings=.home-link,.wp-image-27227,sprlogogood.png,data:image/png

Those settings are exactly the images I’m asking autoptimize not to lazy load, and my IP shows up twice. I was logged in at the time of the “attacks.”

Please advise, thanks!

  • This topic was modified 2 hours, 1 minute ago by benspr.

problem with 2.5.0: no css

$
0
0

Replies: 0

Hi,
since updating to 2.5.0 this morning whenever autoptimize is activated, visitors get my customer’s page without any styles. Logged in users are fine since they are excepted. When I include them they get the same result as all the others. I tried a rollback to 2.4.4 or 2.4.3. That kills my backend (white screen) possibly due to changes to the database. I did not investigate further at that point.

I deactivated the plugin for the moment. I cannot leave it since it is an live site with thousands of hits a day. Any idea, what I can try to resolve this?

There are autoptimize css files entered in the html code but there is none on the server. Is that correct?

Regards,
Brigitta

Inline all CSS won’t inline _all_ CSS

$
0
0

Replies: 2

We also use Beaver Page Builder. The Problem is, that even though the option “inline all css” is activated, there are some CSS files, from /wp-content/cache/autoptimize/css directory, that are loaded as css files and are not inlined.

Those not inlined css files origin, according to their ids, from Beaver Builder Plugin. Is there a way to inline really everything?

Disable Cache on Specific Page or URL

$
0
0

Replies: 5

Is there a way to disable caching on a specific page or URL?

Optimize Javascript causes issues

$
0
0

Replies: 1

Hi,

I am using the Autoptimize plugin and have been for years.

After doing some WordPress updates and plugin updates I have came across an issue with the Autoptimize plugin…

When having the Optimise JavaScript Code? setting enabled it caused pages to load saying Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0

You can see this issue by going to this site testing.camerabeanbags.co.uk as I have had to disable this setting on the live site so customers don’t see the error.

When this error message shows on the page, it will show on page but then if you refresh the page then it will load the page fine with no error message. However this is only per browser/pc and when the caches are cleared the error will show again.

Not sure why it is happening but I never used to have trouble, again it is the javacript optimization setting that seems to be causing this.

Thanks,

Harvey

Error on update with debug on

$
0
0

Replies: 0

Hi,

I ran an update and got the following error:

Undefined index: autoptimize_extra_checkbox_field_5

I turned off debug mode and it went away so it’s not a critical issue.


Image URL incorrect after enable “Optimize Images” with ShortPixel

$
0
0

Replies: 1

After enable Autoptimize -> Images -> Optimize Images, background image URL incorrect which contains extra space (i.e. ‘ ‘) in the URL causing image cannot be loaded,
example:

Original before enable Optimize Images setting: background-image: url(http://www.teenlok.com/wp-content/uploads/Vision-1600x500.jpg);

After enable the setting (version 2.5.0): background-image: url(https://cdn.shortpixel.ai/client/q_lossy,ret_img/ http://www.teenlok.com/wp-content/uploads/Vision-1600x500.jpg); (extra space in the URL)

The expected URL (before version 2.5.0): background-image: url(https://cdn.shortpixel.ai/client/q_lossy,ret_img/http://www.teenlok.com/wp-content/uploads/Vision-1600x500.jpg);

  • This topic was modified 8 hours, 27 minutes ago by sammyhk.
  • This topic was modified 8 hours, 25 minutes ago by sammyhk.

Use Cookie-free domains

Do you need other caching plugins besides Autoptimize?

$
0
0

Replies: 4

I have tried using several other caching plugins with mixed results. It seems like the latest one I tried might (not 100 percent sure) have added bad code to my htaccess file so I removed it.

Do we need other caching plugins such as WP Fastest Cache, W3 Total Cache or WP Super Cache etc… on top of Autoptimize?

owlCarousel js error

$
0
0

Replies: 3

Hi

getting erros: TypeError: jQuery(…).owlCarousel is not a function[Learn More]

but where i put this js to exclude from optimize, I can’t find any settings to exclude javascript from theme. have checked FAQ but it doesn’t help.

Please help.
Thanks

render-blocking jquery/jquery.js

$
0
0

Replies: 0

hello i am trying to Eliminate render-blocking resources i have only jquery/jquery.js . when i remove from list of Exclude scripts from Autoptimize is shows me error any help i appreciate thanks a lot .

the website is https://www.insect.gr

CORS policy: No ‘Access-Control-Allow-Origin’

$
0
0

Replies: 0

Getting this error for icon fonts:

Access to font has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested

I know it is a know issue but this one is diferent, I added .htaccess

<IfModule mod_headers.c>
<FilesMatch “\.(ttf|ttc|otf|eot|woff|woff2|font.css|css|js)$”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>
</IfModule>

Already a long time ago, without problems on other sites.
But with Auoptimize active throws these errors and without not!

Thanks,

DAve

Optimize Autoptimize settings

$
0
0

Replies: 2

Hi Frank!

We are no technical professionals so we have set up Autoptimize to the best of our knowledge.

If we look at gtmetrix for the site https://www.hello-world.net/camino-portugues/ with a total page size of 2.1MB (and 65 requests) the fully load time was 3.9sec as you can see it here

https://gtmetrix.com/reports/www.hello-world.net/qSZpMw3C

Is there something that we can do in the settings of autoptimize or in the loading-order for optimzing this loading time?

thnx for helping!

  • This topic was modified 2 hours, 2 minutes ago by Nico Marcuz.

Uncaught syntaxerror

$
0
0

Replies: 0

Autoptimize seems to conflict with Smashballon instagram feed. If I enable autoptimize it will not let the feed run.
Disable autoptimize and all works fine.

Autooptimze with mod_pagespeed conflict with “inline and defer CSS”

$
0
0

Replies: 0

HI,

First of all thanks for your plugin. Is awesome!

I would like to know if there is some config to do when mod_pagespeed is enabled. Before enable mod_pagspeed the option “inline and defer CSS” was working properly. After activate mod_pagespeed the defer css stop works.

Att,

Rafael Figueiredo.

Preeconnect Crossorigin

$
0
0

Replies: 0

Hi,

I’m doing some tests and preconnect to three domains through autooptimize, separting domains with commas. Bellow is the html printed by autooptimize:

<link href=”https://www.googletagmanager.com” rel=”preconnect”>
<link href=”https://www.google-analytics.com” rel=”preconnect”>
<link href=”https://fonts.gstatic.com” crossorigin=”anonymous” rel=”preconnect”>

The parameter crossorigin is not supposed to appear in all links?

Att,

Rafael Figueiredo.

Caching plugin

$
0
0

Replies: 2

Hi Frank,

Does Autoptimize require a caching plugin and if so, which one do you recommend?

Thanks!

Lazy loading makes some images invisible

$
0
0

Replies: 0

I checked the box for lazy-loading images. But I had to add over 80 images to the exclusion list because they were not visible even after the pages were fully loaded. Is this a normal problem with this feature? Is there a way to fix this problem without excluding them?

Viewing all 14038 articles
Browse latest View live


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