Since the last update of the theme, which i installed yesterday the website has been really slow to load. I am looking at PageSpeed insights from Google and I am not the very best at investigating this can you help please?
Even though the site speed is not directly linked with the theme as there are many factors such as server, plugins and media size there is still something you can do from the theme perspective to speed up your site.
Thank you for the prompt reply. The reason for me to start this thread is because the site only became slow after the latest update. But I am following the instructions on the link and making adding the suggested plugins, etc.
I do have a further question though, based on the .htaccess file code snipped not the link you provided everything seem to be set for 1 year whereas on my actual file it is set to 24 hours.
<IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access plus 24 hours" ExpiresByType image/jpeg "access plus 24 hours" ExpiresByType image/gif "access plus 24 hours" ExpiresByType image/png "access plus 24 hours" ExpiresByType text/css "access plus 24 hours" ExpiresByType application/pdf "access plus 1 week" ExpiresByType text/javascript "access plus 24 hours" ExpiresByType text/html "access plus 5 minutes" ExpiresByType image/x-icon "access plus 1 year" ExpiresDefault "access plus 24 hours" </IfModule>
I apologise for lack of my knowledge on the above issue. Should i set all to 1 year as instructed by the link you provided? What does this actually do?
That's an "expiration date" which determines how often the browser should look for the image, if it's set to 1 year it will keep the image in cache for 1 year and won't try loading them again each day. So I would advise you put our code in your .htaccess file instead of the current one.
Here you can find out more how the caching of media works in sites.
Hi there,
Since the last update of the theme, which i installed yesterday the website has been really slow to load. I am looking at PageSpeed insights from Google and I am not the very best at investigating this can you help please?
Thanks,
Im
Hi Im,
Even though the site speed is not directly linked with the theme as there are many factors such as server, plugins and media size there is still something you can do from the theme perspective to speed up your site.
In our theme documentation you can read this article How to speed up my site.
Best regards,
Laborator Team
Hi Art,
Thank you for the prompt reply. The reason for me to start this thread is because the site only became slow after the latest update. But I am following the instructions on the link and making adding the suggested plugins, etc.
I do have a further question though, based on the .htaccess file code snipped not the link you provided everything seem to be set for 1 year whereas on my actual file it is set to 24 hours.
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 24 hours"
ExpiresByType image/jpeg "access plus 24 hours"
ExpiresByType image/gif "access plus 24 hours"
ExpiresByType image/png "access plus 24 hours"
ExpiresByType text/css "access plus 24 hours"
ExpiresByType application/pdf "access plus 1 week"
ExpiresByType text/javascript "access plus 24 hours"
ExpiresByType text/html "access plus 5 minutes"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 24 hours"
</IfModule>
I apologise for lack of my knowledge on the above issue. Should i set all to 1 year as instructed by the link you provided? What does this actually do?
Thanks a lot,
Im
Hi again,
That's an "expiration date" which determines how often the browser should look for the image, if it's set to 1 year it will keep the image in cache for 1 year and won't try loading them again each day. So I would advise you put our code in your .htaccess file instead of the current one.
Here you can find out more how the caching of media works in sites.
Best regards,
Laborator Team
Thanks a lot Art :)