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

ShortPixel message won’t go away

$
0
0

Replies: 1

Since the last plugin update, the following message:

“Did you know Autoptimize includes on-the-fly image optimization and CDN via ShortPixel? Check out the Autoptimize Extra settings to activate this option.”

keeps popping up at the top of every page of my WP admin interface… I keep closing it with the ‘x’, but it keeps coming back. The only way it goes away is if you activate the ShortPixel CDN option in the Autoptomize Extra Auto-Optimizations page, but as soon as you deactivate the option, the message comes back…

I don’t want to be forced to check this option just to shut off this message. Can you please do something and update the plugin.

Thank you


Notification about Extra Settings

$
0
0

Replies: 1

This notification keeps popping up, even after dismissing it.
It only goes away if you activate the “Optimize images on the fly and serve them from a CDN” option but then it comes back if you deactivate that.

Please make the dismissing of this notification permanent.

Thanks,
Luigi.

Compatibility with elementor

$
0
0

Replies: 1

Hi!

Why is it if this plugin is enabled and I tried to edit a page using an elementor builder. The elementor load slow at the beginning..

Is there a way you can fix this?

SET CACHE

$
0
0

Replies: 5

Can I triple the cahe with a function?

Deactivate Plugin – Kills Mobile (Corruption?)

$
0
0

Replies: 5

Installed and activated autoptimize 24 hours ago. Turned on for html, js & css. Killed the burger menu on mobile. Could not identify the conflict and site is live. So, deactivated plugin. Fine on desktop. Complete whitescreen on mobile. Reactivate plugin. Mobile display returns (menu still not functional). Unless plugin is active and javascript is checked to optimize — whitescreen on mobile. Did delete caches, inlcuding on devices, many times, did try suggestions Force JavaScript in <head>, etc. In frustration/ need for quick resolution, restored entire site from backup. Rollback was successful. SAME problem. Whitescreen on mobile. Completely confused. Had to install autoptimize and turn on js to get rid of whitescreen, but menu is dead. Something corrupt? Specific files to delete not addressed by restore (via UpdraftPlus)? Need any resolution/suggestion asap.

Logs in debug.log – PHP Notice autoptimizeExtra.php

$
0
0

Replies: 1

[26-Oct-2018 17:20:20 UTC] PHP Notice: Undefined index: host in /public_html/wp-content/plugins/autoptimize/classes/autoptimizeExtra.php on line 476
[26-Oct-2018 17:34:20 UTC] PHP Notice: Undefined index: host in /public_html/wp-content/plugins/autoptimize/classes/autoptimizeExtra.php on line 476

Helo,
Sometimes I get the above logs. Could someone help me with it how can I solve it to avoid get it? 🙂 I know that these are only “notice”, but when I see “debug.log” I always think that there is something wrong with my website 😀 I am sick at this point.

PLEASE please stop with the admin messages

$
0
0

Replies: 1

Hi

Please stop your plugin from constantly inserting messages in the admin screen, such as:

Did you know Autoptimize includes …. blah blah.

This is irritating and soooooooooooooo unprofessional.

Thanks.

Eliminate render-blocking JavaScript and CSS in above-the-fold content

$
0
0

Replies: 1

After i tested my website with Google Page Speed Test, I get the result as below link:
https://drive.google.com/file/d/1mruVg2hpEqFMbsa_8RtsSbDJzSOVdrrO/view?usp=sharing

My Autoptimze plugin setting as below link:
https://drive.google.com/drive/folders/1WAsb5ZQNTfgaVn-SE8DrEzLmfX4dKYQg?usp=sharing

I did checked the “Optimize JavaScript Code” and ” Optimize Css Code” on the plugin, but the result still not efficient.
Hope to get the solution and thank you for your knowledge.


DIVI compatibility problems

$
0
0

Replies: 1

After the most recent DIVI update, this plugin seems to have compatibility issues.

The DIVI visual builder no longers with autooptimize enabled. I have to disable this plugin anytime I want to use the visual builder.

Popup Pro compatibility

$
0
0

Replies: 1

Hello,

I set the popup so that it only opens three times.
It works with different browsers but not with Firefox (except in private browsing).
When I stop autotimize, it works normally.
How can this conflict be resolved?

Thanks a lot for helping.

Magod

Images are not loaded in CDN

$
0
0

Replies: 1

Hello, first congratulations for your plugin, I am very satisfied.

I’m using a CDN from my server and it seems to be working fine but the images are not loading into the CDN according to GTmetrix https://gtmetrix.com/reports/anunciamelo.com/fvGrQNXA tab Yslow could you help me with this?

My CDN
cdn.anunciamelo.com

Thank you

Turn off AO from commandline?

$
0
0

Replies: 1

AO is just killing my site with calls (in the log) like so:
“GET /?ao_speedup_cachebuster=41116 HTTP/1.1”

I tried the trick with adding
add_filter(‘autoptimize_filter_speedupper’, ‘__return_false’);
to the functions.php in my theme.

Nothing seem to help. The admin panel is largely non-functional and
when my hosting company restarted the web server and tried to disable
ao, it apparently just came back.

Is there any way to stop this and rebuilt all of this?

Leverage Browser Cache

$
0
0

Replies: 0

I get this messages from Google Page Speed Test:
Screenshot of these message from Google Page Test
https://drive.google.com/file/d/1rjHBTEnI-MCEwCXspN0W6TZo_lz4A0j9/view?usp=sharing

How to solve this issues?

This is the code i put in my htaccess file.
<IfModule mod_mime.c>
AddType text/css .css
AddType text/x-component .htc
AddType application/x-javascript .js
AddType application/javascript .js2
AddType text/javascript .js3
AddType text/x-js .js4
AddType video/asf .asf .asx .wax .wmv .wmx
AddType video/avi .avi
AddType image/bmp .bmp
AddType application/java .class
AddType video/divx .divx
AddType application/msword .doc .docx
AddType application/vnd.ms-fontobject .eot
AddType application/x-msdownload .exe
AddType image/gif .gif
AddType application/x-gzip .gz .gzip
AddType image/x-icon .ico
AddType image/jpeg .jpg .jpeg .jpe
AddType image/webp .webp
AddType application/json .json
AddType application/vnd.ms-access .mdb
AddType audio/midi .mid .midi
AddType video/quicktime .mov .qt
AddType audio/mpeg .mp3 .m4a
AddType video/mp4 .mp4 .m4v
AddType video/mpeg .mpeg .mpg .mpe
AddType application/vnd.ms-project .mpp
AddType application/x-font-otf .otf
AddType application/vnd.ms-opentype ._otf
AddType application/vnd.oasis.opendocument.database .odb
AddType application/vnd.oasis.opendocument.chart .odc
AddType application/vnd.oasis.opendocument.formula .odf
AddType application/vnd.oasis.opendocument.graphics .odg
AddType application/vnd.oasis.opendocument.presentation .odp
AddType application/vnd.oasis.opendocument.spreadsheet .ods
AddType application/vnd.oasis.opendocument.text .odt
AddType audio/ogg .ogg
AddType application/pdf .pdf
AddType image/png .png
AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
AddType audio/x-realaudio .ra .ram
AddType image/svg+xml .svg .svgz
AddType application/x-shockwave-flash .swf
AddType application/x-tar .tar
AddType image/tiff .tif .tiff
AddType application/x-font-ttf .ttf .ttc
AddType application/vnd.ms-opentype ._ttf
AddType audio/wav .wav
AddType audio/wma .wma
AddType application/vnd.ms-write .wri
AddType application/font-woff .woff
AddType application/font-woff2 .woff2
AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
AddType application/zip .zip
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css A31536000
ExpiresByType text/x-component A31536000
ExpiresByType application/x-javascript A31536000
ExpiresByType application/javascript A31536000
ExpiresByType text/javascript A31536000
ExpiresByType text/x-js A31536000
ExpiresByType video/asf A31536000
ExpiresByType video/avi A31536000
ExpiresByType image/bmp A31536000
ExpiresByType application/java A31536000
ExpiresByType video/divx A31536000
ExpiresByType application/msword A31536000
ExpiresByType application/vnd.ms-fontobject A31536000
ExpiresByType application/x-msdownload A31536000
ExpiresByType image/gif A31536000
ExpiresByType application/x-gzip A31536000
ExpiresByType image/x-icon A31536000
ExpiresByType image/jpeg A31536000
ExpiresByType image/webp A31536000
ExpiresByType application/json A31536000
ExpiresByType application/vnd.ms-access A31536000
ExpiresByType audio/midi A31536000
ExpiresByType video/quicktime A31536000
ExpiresByType audio/mpeg A31536000
ExpiresByType video/mp4 A31536000
ExpiresByType video/mpeg A31536000
ExpiresByType application/vnd.ms-project A31536000
ExpiresByType application/x-font-otf A31536000
ExpiresByType application/vnd.ms-opentype A31536000
ExpiresByType application/vnd.oasis.opendocument.database A31536000
ExpiresByType application/vnd.oasis.opendocument.chart A31536000
ExpiresByType application/vnd.oasis.opendocument.formula A31536000
ExpiresByType application/vnd.oasis.opendocument.graphics A31536000
ExpiresByType application/vnd.oasis.opendocument.presentation A31536000
ExpiresByType application/vnd.oasis.opendocument.spreadsheet A31536000
ExpiresByType application/vnd.oasis.opendocument.text A31536000
ExpiresByType audio/ogg A31536000
ExpiresByType application/pdf A31536000
ExpiresByType image/png A31536000
ExpiresByType application/vnd.ms-powerpoint A31536000
ExpiresByType audio/x-realaudio A31536000
ExpiresByType image/svg+xml A31536000
ExpiresByType application/x-shockwave-flash A31536000
ExpiresByType application/x-tar A31536000
ExpiresByType image/tiff A31536000
ExpiresByType application/x-font-ttf A31536000
ExpiresByType application/vnd.ms-opentype A31536000
ExpiresByType audio/wav A31536000
ExpiresByType audio/wma A31536000
ExpiresByType application/vnd.ms-write A31536000
ExpiresByType application/font-woff A31536000
ExpiresByType application/font-woff2 A31536000
ExpiresByType application/vnd.ms-excel A31536000
ExpiresByType application/zip A31536000
</IfModule>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/bmp application/java application/msword application/vnd.ms-fontobject application/x-msdownload image/x-icon image/webp application/json application/vnd.ms-access application/vnd.ms-project application/x-font-otf application/vnd.ms-opentype application/vnd.oasis.opendocument.database application/vnd.oasis.opendocument.chart application/vnd.oasis.opendocument.formula application/vnd.oasis.opendocument.graphics application/vnd.oasis.opendocument.presentation application/vnd.oasis.opendocument.spreadsheet application/vnd.oasis.opendocument.text audio/ogg application/pdf application/vnd.ms-powerpoint image/svg+xml application/x-shockwave-flash image/tiff application/x-font-ttf application/vnd.ms-opentype audio/wav application/vnd.ms-write application/font-woff application/font-woff2 application/vnd.ms-excel
<IfModule mod_mime.c>
# DEFLATE by extension
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
<FilesMatch “\.(css|htc|less|js|js2|js3|js4|CSS|HTC|LESS|JS|JS2|JS3|JS4)$”>
FileETag MTime Size
<IfModule mod_headers.c>
Header unset Set-Cookie
</IfModule>
</FilesMatch>
<FilesMatch “\.(html|htm|rtf|rtx|svg|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|TXT|XSD|XSL|XML)$”>
FileETag MTime Size
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
</FilesMatch>
<FilesMatch “\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|webp|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|_ttf|wav|wma|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|WEBP|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|_TTF|WAV|WMA|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW|ZIP)$”>
FileETag MTime Size
<IfModule mod_headers.c>
Header unset Set-Cookie
</IfModule>
</FilesMatch>
<FilesMatch “\.(bmp|class|doc|docx|eot|exe|ico|webp|json|mdb|mpp|otf|_otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|pot|pps|ppt|pptx|svg|svgz|swf|tif|tiff|ttf|ttc|_ttf|wav|wri|woff|woff2|xla|xls|xlsx|xlt|xlw|BMP|CLASS|DOC|DOCX|EOT|EXE|ICO|WEBP|JSON|MDB|MPP|OTF|_OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|POT|PPS|PPT|PPTX|SVG|SVGZ|SWF|TIF|TIFF|TTF|TTC|_TTF|WAV|WRI|WOFF|WOFF2|XLA|XLS|XLSX|XLT|XLW)$”>
<IfModule mod_headers.c>
Header unset Last-Modified
</IfModule>
</FilesMatch>
<IfModule mod_headers.c>
Header set Referrer-Policy “”
</IfModule>
# END W3TC Browser Cache
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

<IfModule mod_deflate.c>
# Compress HTML, CSS, JavaScript, Text, XML and fonts
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml

# Remove browser bugs (only needed for really old browsers)
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent
</IfModule>
# BEGIN Hotlinking

# END Hotlinking

# php — BEGIN cPanel-generated handler, do not edit
# Set the “ea-php70” package as the default “PHP” programming language.
<IfModule mime_module>
AddType application/x-httpd-ea-php70 .php .php7 .phtml
</IfModule>
# php — END cPanel-generated handler, do not edit

Performance, script application/ld+json before closing head? or jquery sooner?

$
0
0

Replies: 0

I am wondering what can be done so that the <script type=”application/ld+json”> sections appear just before the closing </head> tag.

Otherwise gtmetrix will report

The following inline script blocks were found between an external CSS file and another resource. To allow parallel downloading, move the inline script before the external CSS file, or after the next resource.

I see that following the “application/ld+json”, it loads the jquery file:

<script type=’text/javascript’ async=’async’ src=’https://www.mysite.com/wp-includes/js/jquery/jquery.js’></script>

The plugin that is inserting the “application/ld+json” is “The SEO Framework”, I am not sure if this is best solved by autoptimize or seo framework, or possibly a code snippet that restructures the page, so I have posted in both plugins support sections.

Appreciate any thoughts or ideas regarding this, thank you for an excellent plugin. I have tried them all, and “Autoptimize” coupled with “Redis Object Cache” gave the absolute best performance, I absolutely love how “Autoptimize” reduces the number of requests by combining files! Thank you so much!

EDIT: forgot to mention I searched through all 110 pages for the keyword json, there were only two posts vaguely related:

https://wordpress.org/support/topic/typeapplicationldjson-expluded/
https://wordpress.org/support/topic/json-ld-error/

The first link suggests that I should just ignore the error on gtmetrix I think, but just want to make sure there is not a simple fix.

  • This topic was modified 1 hour, 26 minutes ago by xarelix.
  • This topic was modified 1 hour, 22 minutes ago by xarelix.

Autoptimize is blocking Facebook Open Graph

$
0
0

Replies: 0

Hello team,

I am using autoptimize (last version) with my template Jupiter (last version) and when the plugin is activated it is blocking the info to show up in Facebook Open Graph.

After taking a look around the forum I didn’t find anything about it. Also not in other forums. It would be the only thing I need for everything to work properly.

Can you help me?

Thank you!


Autoptimize v 2.4.1 PHP 7.2 warning

$
0
0

Replies: 0

FILE: /nas/content/live/mysite/wp-content/plugins/autoptimize/classes/external/php/jsmin.php
————————————————————————————————-
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
————————————————————————————————-
109 | WARNING | INI directive ‘mbstring.func_overload’ is deprecated since PHP 7.2
————————————————————————————————-

Just a heads up that even in latest plugin this warning persists. Thx! Love the plugin!

  • This topic was modified 1 hour, 30 minutes ago by aparentdesign.

jquery still being optimized

$
0
0

Replies: 1

I’m getting some jquery errors, even though I’ve listed js/jquery/jquery.jsin the “Exclude scripts from Autoptimize” box. I can see the jquery code in the head of the aggregated file. I have Optimize JavaScript Code? checked and Aggregate JS-files? checked.

Shouldn’t these settings leave jquery in the head? Or am I missing something?

Thanks!

  • This topic was modified 47 minutes ago by johnmontfx.

Only working on homepage

$
0
0

Replies: 3

Hi,

Autoptimize only appears to be working on my homepage and no other pages – http://www.clips.edu.au.

Have tried changing a few different settings in Autoptimize, disabling plugins, and changing themes but it remains the same.

Thanks!

Autoptimize CSS creating 502 error – style.css in child theme

$
0
0

Replies: 0

Hello,

When I do the latest update to Autoptimize(2.4.1), my website gives me a 502 error. After some troubleshooting, I see that this occurs when I check off the ‘Optimize CSS Code’ in the settings panel. I noticed that the site is fine if I don’t use my style.css in the child theme.

I also tried hiding the code below in the functions.php file, but it is getting rid of all my CSS in the style.css child theme file:

add_filter( ‘x_enqueue_parent_stylesheet’, ‘__return_true’ );

Please let me know how this can be resolved, so that my CSS can still be optimized and uses the style.css in the child theme.

Excluding Inline css or inline js?

$
0
0

Replies: 0

Hi,

Is there any way to exclude inline css or inline js?

Thank you,
best regards.

Viewing all 14094 articles
Browse latest View live