increasing website performance
Permalink 1 user found helpful
hello,
i am not satisfied with the performance of my website. is here someone who can give me some tips and instructions?
my website:http://www.shaolinsteyr.at
Websiteenvironment
i am not satisfied with the performance of my website. is here someone who can give me some tips and instructions?
my website:http://www.shaolinsteyr.at
Websiteenvironment
# concrete5 Version Core Version - 5.7.5.9 Version Installed - 5.7.5.9 Database Version - 20160615000000 # concrete5 Packages Easy Image Slider (1.1), Event Calendar PRO (1.5.1), Honest Websites Back To Top (0.9.4), Icons for Redactor (0.9), Minify HTML (1.0), Simple Blog setup (1.0.0), Supermint Theme (3.3.1.3), toesslab - Week Calendar (0.9), Touch Gallery (2.0.3). # concrete5 Overrides blocks/page_list/view.php, blocks/page_list/view.css, blocks/page_list, blocks/image_slider/view.css, blocks/image_slider, blocks/topic_list/templates/flat_filter.php, blocks/topic_list/templates, blocks/topic_list/view.css, blocks/topic_list, blocks/form/view.css, blocks/form, css/responsive-slides.css, css/frontend/pagination.css, css/frontend, js/responsive-slides.js, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR, blocks/page_list/view.php, blocks/page_list/view.css, blocks/page_list, blocks/image_slider/view.css, blocks/image_slider, blocks/topic_list/templates/flat_filter.php, blocks/topic_list/templates, blocks/topic_list/view.css, blocks/topic_list, blocks/form/view.css, blocks/form, css/responsive-slides.css, css/frontend/pagination.css, css/frontend, js/responsive-slides.js, languages/fr_FR/LC_MESSAGES/messages.mo, languages/fr_FR/LC_MESSAGES, languages/fr_FR, languages/nl_NL/LC_MESSAGES/messages.mo, languages/nl_NL/LC_MESSAGES, languages/nl_NL, languages/pt_BR/LC_MESSAGES/messages.mo, languages/pt_BR/LC_MESSAGES, languages/pt_BR, languages/da_DK/LC_MESSAGES/messages.mo, languages/da_DK/LC_MESSAGES, languages/da_DK, languages/it_IT/LC_MESSAGES/messages.mo, languages/it_IT/LC_MESSAGES, languages/it_IT, languages/ru_RU/LC_MESSAGES/messages.mo, languages/ru_RU/LC_MESSAGES, languages/ru_RU, languages/ja_JP/LC_MESSAGES/messages.mo, languages/ja_JP/LC_MESSAGES, languages/ja_JP, languages/tr_TR/LC_MESSAGES/messages.mo, languages/tr_TR/LC_MESSAGES, languages/tr_TR, languages/fi_FI/LC_MESSAGES/messages.mo, languages/fi_FI/LC_MESSAGES, languages/fi_FI, languages/pl_PL/LC_MESSAGES/messages.mo, languages/pl_PL/LC_MESSAGES, languages/pl_PL, languages/de_DE/LC_MESSAGES/messages.mo, languages/de_DE/LC_MESSAGES, languages/de_DE, languages/sv_SE/LC_MESSAGES/messages.mo, languages/sv_SE/LC_MESSAGES, languages/sv_SE, languages/nb_NO/LC_MESSAGES/messages.mo, languages/nb_NO/LC_MESSAGES, languages/nb_NO, languages/es_PY/LC_MESSAGES/messages.mo, languages/es_PY/LC_MESSAGES, languages/es_PY, languages/el_GR/LC_MESSAGES/messages.mo, languages/el_GR/LC_MESSAGES, languages/el_GR # concrete5 Cache Settings Block Cache - On Overrides Cache - On Full Page Caching - On - If blocks on the particular page allow it. Full Page Cache Lifetime - Only when manually removed or the cache is cleared. # Server Software Apache
Viewing 15 lines of 39 lines. View entire code block.
Also try this site (great resource):
http://varvy.com/pagespeed/
And:
http://tools.pingdom.com/
This is not specific Concrete5 issue (You must learn this issues and implement them in your site). For example In your site you have a lot of JS scripts even in "only text" pages.
http://varvy.com/pagespeed/
And:
http://tools.pingdom.com/
This is not specific Concrete5 issue (You must learn this issues and implement them in your site). For example In your site you have a lot of JS scripts even in "only text" pages.
Thanks for the additional perf sites. http://varvy.com/pagespeed/ looks especially detailed!
But I do think C5 could install the site such that these perf testers don't find so much low-hanging fruit. My results (above) come from a newly installed C5 site running Elemental theme, fresh from the installer, where the only tuning I have done so far is to enable all the caching except for whole-page caching in System.
I guess these can be fixed by editing theme files and the browser cache enable is an Apache setting, so I can (eventually) make these changes myself. But the c5 installer could also offer to change these settings for me, and it would be a much appreciated enhancement.
But I do think C5 could install the site such that these perf testers don't find so much low-hanging fruit. My results (above) come from a newly installed C5 site running Elemental theme, fresh from the installer, where the only tuning I have done so far is to enable all the caching except for whole-page caching in System.
I guess these can be fixed by editing theme files and the browser cache enable is an Apache setting, so I can (eventually) make these changes myself. But the c5 installer could also offer to change these settings for me, and it would be a much appreciated enhancement.
I test clean elemental theme and I get: 90/100 score in PageSpeed Insight (google speed test). Remember this is not "load time" test.
Three warning you see most of the time (In every CMS or platform)
A-----------------------------
Optimize images' (in general) is your responsibility.
Great feature in concrete5 is (under setting - > files -> Image Uploading) - set "Automatically resize uploaded images" to TRUE (remember if you already compress the image sometimes you will get bad Q image because now you compress the image again)
Or online:
https://www.shoutmeloud.com/6-best-free-online-image-compression-opt...
B ---------------------------------------
This is also your responsibility (server speed):
https://varvy.com/pagespeed/improve-server-response.html...
C----------And last "Eliminate render blocking" -
Some solutions are to: Combine files // Internal CSS
This is really a problem because internal styles are WRONG from Development view (You won't separate the design from the content) + You will break the LESS styles in this theme.
https://www.youtube.com/watch?v=CdePC0rH8p0...
If you really want to you can "copy--> PASTE" the Generate CSS of elemental to the HEAD (internal CSS) and remove the External Style Sheet:
<link rel="stylesheet" type="text/css" href="mystyle.css">
But I don't love to do so.
Three warning you see most of the time (In every CMS or platform)
A-----------------------------
Optimize images' (in general) is your responsibility.
Great feature in concrete5 is (under setting - > files -> Image Uploading) - set "Automatically resize uploaded images" to TRUE (remember if you already compress the image sometimes you will get bad Q image because now you compress the image again)
URL: my-site-name/system/files/image_uploading
Or online:
https://www.shoutmeloud.com/6-best-free-online-image-compression-opt...
B ---------------------------------------
This is also your responsibility (server speed):
https://varvy.com/pagespeed/improve-server-response.html...
C----------And last "Eliminate render blocking" -
Some solutions are to: Combine files // Internal CSS
This is really a problem because internal styles are WRONG from Development view (You won't separate the design from the content) + You will break the LESS styles in this theme.
https://www.youtube.com/watch?v=CdePC0rH8p0...
If you really want to you can "copy--> PASTE" the Generate CSS of elemental to the HEAD (internal CSS) and remove the External Style Sheet:
<link rel="stylesheet" type="text/css" href="mystyle.css">
But I don't love to do so.
I don't know what version of PHP you are running but PHP version 7 is a big increase to speed over version 5.6.
I don't know what version of PHP you are running but PHP version 7 is a big increase to speed over version 5.6.
Regarding the PageSpeed suggestion to optimize images: we've just released a (paid) addon called "Image Optimizer" for concrete5 v8+ that can facilitate with the file size reduction of images.
https://www.concrete5.org/developers/pro-accounts/community-leaders-area/community-leaders-discussion/fastest-hosting-for-concrete5/#880501
Sorry, I don't have access to pro-developers area of the site, but would like to see the conclusions ...
Korvin said:
Ultimately the performance of a website is limited by two things:
1. What is the speed of IO
2. What resources are available and dedicated to the Nginx / PHP
The #1 sin that slows a concrete5 site (or any db heavy application) down is sharing the same resources you use to execute and serve PHP with MySQL which is incredibly CPU, IO and memory hungry.
So with that in mind, I'd say the fastest hosting for concrete5:
* Offers a dedicated mysql server or mysql as a service so that php/nginx aren't competing
* Offers at least SSD speed hard drives for both mysql and the php nginx server
More is always better, but those two bullet points will double any concrete5 site's speed.
Once you've picked out a server, you should be using:
* An event driven webserver like nginx or apache with event mpm
* PHP 7.1, there's no reason to use PHP 7.0 and there's absolutely no reason to use PHP 5. You will get huge gains from this if you already have your mysql server separate. If not your bottleneck is probably disk IO due to shared resources and not PHP being slow.
* Profiling tools to ensure the code and the blocks you add to your site are performant. I use and highly highly recommend blackfire.io
And your site will sing. Following this design, our latest sites are all <500ms to render.
Ultimately the performance of a website is limited by two things:
1. What is the speed of IO
2. What resources are available and dedicated to the Nginx / PHP
The #1 sin that slows a concrete5 site (or any db heavy application) down is sharing the same resources you use to execute and serve PHP with MySQL which is incredibly CPU, IO and memory hungry.
So with that in mind, I'd say the fastest hosting for concrete5:
* Offers a dedicated mysql server or mysql as a service so that php/nginx aren't competing
* Offers at least SSD speed hard drives for both mysql and the php nginx server
More is always better, but those two bullet points will double any concrete5 site's speed.
Once you've picked out a server, you should be using:
* An event driven webserver like nginx or apache with event mpm
* PHP 7.1, there's no reason to use PHP 7.0 and there's absolutely no reason to use PHP 5. You will get huge gains from this if you already have your mysql server separate. If not your bottleneck is probably disk IO due to shared resources and not PHP being slow.
* Profiling tools to ensure the code and the blocks you add to your site are performant. I use and highly highly recommend blackfire.io
And your site will sing. Following this design, our latest sites are all <500ms to render.
The discussion also comes to the conclusion that if separating sql from apache server the connection between the two must be quick... ideally two virtual machines running on the same dedicated host.
That will give the forum some concrete information to engage with.
In the meantime, I'll share one very helpful point that I gleaned from reading other posts talking about poor performance: these external websites that will access your site and provide a performance report:
http://gtmetrix.com/
https://developers.google.com/speed/pagespeed/insights/......
I ran the latter on my site, which is running too slow for my tastes as well. It called out slow loading of these resources
:
jQuery.js
bootstrap-modified-min.css
font-awesome.css.
Probably all C5 sites use these. I'm going to try using versions of these hosted by content delivery networks (CDN's) and see what happens.
Apparently, Concrete5 uses a modified version of Bootstrap, but I'm going to try the standard one on the CDN, another forum member did so and things seemed to work.
I suggest you try running these test tools on your site, too.