Answer the question
In order to leave comments, you need to log in
What is possible for a beginner-lover of high-speed sites without JS or with?
I know that php is a convenient programming language for the web, however, it is not the fastest.
I use Drupal CMS on shared hosting and I used to have my own site script with the addition of editing and displaying articles - in php. and I know that my PHP code works faster than Drupal, especially since I had it without databases, and there were 700 articles.
I speed up Drupal with standard modules: Boost, Minify, Advagg. but still, the example is unattainable: the
example of chitalnya.ru
and stores on Drupal work very slowly for me. Well, rather, I have time to blink 6 times until the page turns over.
tell me what to use for super optimal site performance according to the criterion - the speed of authorized users and the speed of access for unauthorized users?
Should we limit ourselves to php frameworks or is there a significant advantage, for example,
CppCMS with such an analysis: cppcms.com/wikipp/en/page/benchmarks_all
and is there such an opportunity to run C ++ sites on shared hosting?
Answer the question
In order to leave comments, you need to log in
The “speed” of a site is made up of three main indicators: the speed of processing a request by the server, the speed of working with the database, and the speed of rendering.
You should start by identifying the main bottleneck in the system.
If most of the time is spent working with the database, you need to optimize queries, reduce their number and cache aggressively. Keep hot data in memory.
If a lot of time is spent processing requests by the server, you need to look into the code, clean up the excess, optimize the existing one. CMS is always slower than homemade code (with a good programmer)
Rendering is usually not a problem, but you can look for other rendering engines. Plus cache-control. Plus caching on the server using nginx.
In any case, start with profiling.
Let's not be perverted. On the approach of PHP7, which will give a significant performance boost.
Then, read how to speed up Drupal. He knows how to work quickly - properly configure caching.
Want something even faster? Please, symfony2 (there are rumors and 3 is just around the corner)/laravel5/yii2 to help.
What you did on drupal slows you down, what does php have to do with it? You will make it slow in another language as well.
It is not the language that needs to be changed, but the level of proficiency in this language. You were rightly advised in the direction of yii2.
In yii2, there are huge opportunities for optimization and it is quite simple to master. The gap in technology between drupal and modern engines is simply unfathomable.
You know the joke:
- I don’t like these Beatles, they’re so out of tune
- and where did you hear them
- Vasya sang to me on the phone.
So here you are. Don't judge php by DRUPAL.
No, well, in C++ you can of course. But my choice is scala + play framework. Fast and convenient. On the other hand, here you have ready-made cms, but with frameworks they work in a completely different way. You have to write each page yourself.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question