Tagged: x
-
AuthorPosts
-
March 10, 2017 at 3:16 am #1401690
BlackWavesParticipantHello Themeco-Team,
I`ve made a huge mess. I tried to optimize my page since Google PageSpeed Insights asked me to enable browser caching.
I found an online article and inserted in the htaccess at the end the following code:## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType text/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 2 days" </IfModule> ## EXPIRES CACHING ## <filesMatch "\\.(js|js.gz)$"> Header set Cache-Control "max-age=604800, private" </filesMatch>Now my rating went down dramatically since Google is complaining the compression should be activated (for gzip and deflate).
In advance I made a copy of the original htaccess and now uploaded this original, but it is still not working. I think I deactivated something in the X-Theme?!? How can I change back to the orignial state and reactivate the compression?I really hope you can help me solve this issue.
March 10, 2017 at 3:18 am #1401691
BlackWavesParticipantThis reply has been marked as private.March 10, 2017 at 7:28 am #1401856
JoaoModeratorHi There,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks
March 10, 2017 at 7:55 am #1401887
BlackWavesParticipantThis reply has been marked as private.March 10, 2017 at 8:14 pm #1402642
RadModeratorHi there,
You should install optimization plugin, they will compress and will provide GZIP encoding for the served files. You can try Autoptimize or W3 Total cache.
Thanks!
March 11, 2017 at 1:42 am #1402826
BlackWavesParticipantHey,
Thank you so much!
I used W3 Total cache and it worked perfectly!You guys are great!
March 11, 2017 at 2:57 am #1402874
ChristopherModeratorYou’re most welcome.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1401690 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
