-
AuthorPosts
-
July 24, 2018 at 10:02 pm #989389
Hi,
I have several questions :
- I installed an AMP plugin (AMP for WP) to be able to display my website in AMP for mobile users, but for Archive pages such as https://www.coiffure-christele-extensions.fr/coiffures/ it doesn’t work (https://www.coiffure-christele-extensions.fr/coiffures/amp doesn’t exist) : do you know another plugin which would be more compatible with enfold?
- When I try Google Tool https://testmysite.withgoogle.com/ it says that it takes 12s for my site to load on a mobile device with “standard connexion” (3G), can you help me understand why it is so long? (my images are not so big and I have an optimization plugin). Here are to pieces of advice they give : “Eliminate render-blocking JavaScript and CSS in above-the-fold content” and “Load visible content before CSS and JS files” but I don’t know how to do that. Can you help?
Thank you in advance
July 25, 2018 at 7:27 pm #989892Hey Coiffure-christele,
Your website is well optimized – see https://gtmetrix.com/reports/www.coiffure-christele-extensions.fr/ThLAWAXc but the size is over 2,3 mb (equals the size of a mp3 file!)
The images visage-femme-cheveux-lisses.png, cheveux-ciseaux-peigne.png, lissage-bresilien-chocolizzi.png, steam-pod.png, background-abstrait.jpg, entree-salon-coiffure-christele-705×469.jpg and vitrine-salon-coiffure-christele-705×469.jpg add over 1 mb to the website size – I’d recommend to reduce the image file sizes.
You can also try to install a cache like Borlabs Cache to speed up your website or to enable gzip by adding this code to your htaccess file:
<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>
Reference: https://gtmetrix.com/enable-gzip-compression.html
I’ll look into the amp issue – I need to test this on my server…
Best regards,
DudeJuly 25, 2018 at 7:35 pm #989897Hi,
Ok I tested the amp plugin ( https://de.wordpress.org/plugins/accelerated-mobile-pages/ ) on my server and the category pages should work flawlessly. Try following – go to this page: https://www.coiffure-christele-extensions.fr/wp-admin/admin.php?tabid=opt-go-premium&page=amp_options and make sure the “Archives [Category & Tags]” setting is activated (green color).
Best regards,
DudeSeptember 10, 2018 at 10:02 pm #1008085Hi,
Thank you for your answers, I optimized my images and enabled Gzip, indeed it has better results with Google Tool Testmysite.On the other hand, for my AMP problem, I checked the “Archives [Category & Tags]” setting is activated (it’s on green color), so apparently my problem comes from somewhere else. If useful, I give you my credentials below, if you want to have a look.
Thank’s in advance
September 11, 2018 at 11:01 am #1008314Hi,
I think the problem is you deactivated/removed the category base. You also need to install this plugin: https://ampforwp.com/amp-category-base-remove-support
Best regards,
PeterSeptember 11, 2018 at 7:11 pm #1008525Hi,
Thank’s a lot for your help, I hadn’t thought of that ! I installed the plugin you gave me, and now I have my AMP category pages!
Thank you again :-)
Best regards
MarineSeptember 11, 2018 at 7:16 pm #1008534Hi,
I’m glad this was resolved. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Loading time on a mobile device + AMP question’ is closed to new replies.