-
AuthorPosts
-
August 27, 2018 at 10:09 am #1002184
Hi!
My client just called me and said, that his site (link in private content) are loading EXTREMELY lame.
Thats really strange – i’ve got plugins like “WP Super Cache” and “Optimus” installed and activated.There are some issues on the console, too!
Failed to load resource: Es wurde kein Server mit dem angegebenen Hostnamen gefunden. https://(domain).dejs/jquery.js?ver=4.9.8
Failed to load resource: the server responded with a status of 404 () https://(domain)/wp-content/themes/enfold-child/wp-content/uploads/2018/08/salbeyer_bg_grafik_14.png
Failed to load resource: the server responded with a status of 404 () https://(domain)/wp-content/themes/enfold-child/wp-content/uploads/2018/08/salbeyer_paper-bg2.jpg
Please check this on Safari, Chrome, Firefox and Internet Explorer / Edge
It’s really frustrating… :-(
Thank you!
August 27, 2018 at 5:28 pm #1002379Hey MrMojoRisin,
I checked your website with gtmetrix (see link in private content) and in my opinion you should reduce the file size and resolution of your images. The website size is over 5,6mb which equals the size of two mp3 songs. To fix the “Leverage browser caching” issue add this code to your htaccess file<IfModule mod_expires.c> ExpiresActive On # Images ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/gif "access plus 1 year" ExpiresByType image/png "access plus 1 year" ExpiresByType image/webp "access plus 1 year" ExpiresByType image/svg+xml "access plus 1 year" ExpiresByType image/x-icon "access plus 1 year" # Video ExpiresByType video/mp4 "access plus 1 year" ExpiresByType video/mpeg "access plus 1 year" # CSS, JavaScript ExpiresByType text/css "access plus 1 month" ExpiresByType text/javascript "access plus 1 month" ExpiresByType application/javascript "access plus 1 month" # Others ExpiresByType application/pdf "access plus 1 month" ExpiresByType application/x-shockwave-flash "access plus 1 month" </IfModule>
(Reference https://gtmetrix.com/leverage-browser-caching.html ) or install a caching and file compressing plugin like Borlabs Cache.
Best regards,
DudeAugust 27, 2018 at 5:34 pm #1002383Hey Dude!
Thanks for Your Feedback!
Should i use borlabs instead of wp super Cache and optimus or all together?
What about the jquery issue? Check console for More Info…
Thanks!
- This reply was modified 6 years, 2 months ago by MrMojoRisin.
August 27, 2018 at 5:49 pm #1002385Hey!
jQuery is loaded twice – one time with the right path (this script is also used and loaded by Enfold) and one time with a wrong/invalid path.
I’m pretty sure this issue is caused by a plugin, I’d recommend to deactivate all plugins and to activate them one by one to find the culprit.Borlabs Cache will replace wp super Cache and will offer more features (css and js file compression, etc.) than wp super Cache. Optimus resizes and compresses images – this feature is not included with Borlabs Cache (or other good caching plugins like WP-Rocket). Thus I’d recommend to use it in addition to a cache plugin.
Regards,
Peter -
AuthorPosts
- You must be logged in to reply to this topic.