Whoops, there was a problem importing your content.
An error occurred while fetching file from: https://codings.dev/package/demo-data/leverage/All-Elementor.xml!
Reason: 403 – Forbidden.
Leverage browser caching for the following cacheable resources:
https://www.fbgcdn.com/embedder/css/order-online.css (5 minutes)
https://www.fbgcdn.com/embedder/js/ewm2.js (5 minutes)
https://www.fbgcdn.com/embedder/js/static/sp.js (5 minutes)
https://connect.facebook.net/en_US/fbevents.js (20 minutes)
https://connect.facebook.net/signals/config/1767905736666734?v=2.9.18&r=stable (20 minutes)
https://connect.facebook.net/signals/plugins/identity.js?v=2.9.18 (20 minutes)
https://www.google-analytics.com/analytics.js (2 hours)
I went on tools.pingdom.com to see my performance level and I see that my website is extremely poor for the Leverage browser caching.
This problem also occurs with others test tools such as PageSpeed Insights Google Developers.
f
This is the complete error message: The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources… (a lot of pictures of my site…)
I tried to solve the problem with WP Super Cache with no results … i tried to change the cache timeout from 600 seconds to 625000 seconds (1 week) without any results….
I tried others pluggin like LiteSpeed Cache, WP Fastest Cache, WP Rocket’s… without any change in my results.
]]># BEGIN LBCWpFastestCache
<FilesMatch “\.(ico|pdf|flv|jpg|jpeg|png|gif|webp|js|css|swf|x-html|css|xml|js|woff|woff2|ttf|svg|eot)(\.gz)?$”>
<IfModule mod_expires.c>
AddType application/font-woff2 .woff2
ExpiresActive On
ExpiresDefault A0
ExpiresByType image/webp A2592000
ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpg A2592000
ExpiresByType image/jpeg A2592000
ExpiresByType image/ico A2592000
ExpiresByType image/svg+xml A2592000
ExpiresByType text/css A2592000
ExpiresByType text/javascript A2592000
ExpiresByType application/javascript A2592000
ExpiresByType application/x-javascript A2592000
ExpiresByType application/font-woff2 A2592000
</IfModule>
<IfModule mod_headers.c>
Header set Expires “max-age=2592000, public”
Header unset ETag
Header set Connection keep-alive
FileETag None
</IfModule>
</FilesMatch>
# END LBCWpFastestCache
# Begin cache control #
ExpiresActive on
ExpiresActive off
<FilesMatch “.*”>
Header unset Cache-Control
Header unset Expires
Header unset Last-Modified
FileETag None
Header unset Pragma
</FilesMatch>
# End cache control #
AddType application/font-woff2 .woff2
AddType x-font/ttf .ttf
AddType x-font/woff .woff
AddHandler application/x-httpd-php70 .php
Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
Leverage browser caching for the following cacheable resources:
https://www.yourdomain.com/…ts/fonts/genericons-regular-webfont.woff (4 hours)
https://www.yourdomain.com/…-your-picture.jpg (24 hours)
Arnt supposed those plugins to set those. Ive looked the htaccess and there is not expire headers at all. Do you have any idea if i may be missing any option in the settings i may need to change.
https://www.ads-software.com/plugins/autoptimize/
]]>I have a website running
www.luizcarlosestoque.com/wordpress
it’s suposed to be a Car Dealing website, with lots of cars exposed, so the loading speed must be good for the site to work. But it’s loading too slow.
Running page speed tests, i’ve realized that my bigger problems are with Browser Caching.
So I started browsing and installed Leverage Browser Caching Ninjas Plugin. It’s activated and running, but nothing changes, speed tests keep on showing many files with “expiration not specified”.
So I added all the codes like ExpiresByType image/jpeg “access 1 year” on .htaccess, but still, nothing happens!
My main kind of files are like this, on the test, it shows a lot of it:
https://luizcarlosestoque.com/wordpress/wp-content/uploads/2015/05/chevy-logo.png (expiration not specified)
I’m here to listen any suggestions you guys can make, thank in advance!!
]]>I keep coming across a code like this: `## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg “access plus 1 year”
ExpiresByType image/jpeg “access plus 1 year”
ExpiresByType image/gif “access plus 1 year”
ExpiresByType image/png “access plus 1 year”
ExpiresByType text/css “access plus 1 month”
ExpiresByType application/pdf “access plus 1 month”
ExpiresByType text/x-javascript “access plus 1 month”
ExpiresByType application/x-shockwave-flash “access plus 1 month”
ExpiresByType image/x-icon “access plus 1 year”
ExpiresDefault “access plus 2 days”
</IfModule>
## EXPIRES CACHING ##`
It says to add it to .htaccess but where exactly in .htaccess? I added it before but I must have done it incorrectly because it screwed up my site. I read that you can do this via W3 Total Cache but if you want to increase your load time you have to do it manually, is this correct?
https://www.livelaughandplay.com
]]>Thanks for your plugin that satisfies the Google PageSpeed without any effort.
For my site, I still had the “leverage cache” suggestion, but this time only JS files remaining in the list. And it appeared that JS files are called “application/javascript” when I check in Chrome.
I figured out that I could complete your plugin .htaccess entry with
#your-entry
ExpiresByType text/x-javascript “access 2 week”
#my-addition
ExpiresByType application/x-javascript “access plus 1 month”
ExpiresByType text/javascript “access plus 1 month”
ExpiresByType application/javascript “access plus 1 month”
That gave me another 10 points boost to the PageSpeed test. Let me know if I’m doing right, if so that becomes a suggestion for your next release.
By the way, do you know if it’s worth addressing the minification of css/js/html (which is not done by your plugin) when the content is already gzip’ed (which your plugin does)?
Thanks,
jb
https://www.ads-software.com/plugins/wp-performance-score-booster/
]]>I’d like to resolve Leverage browser caching.
Please tell me which settings should I change in w3 total cache.
Thanks.
https://www.ads-software.com/plugins/w3-total-cache/
]]>My plugin is up-to-date and when I disable it, the issue disappears.
Could you please explain how to fix this?
https://www.ads-software.com/plugins/disqus-comment-system/
]]>