Как я оптимизировал xenforo

История о том, как я загнал главную страницу форума с 88 запросов до 15, выяснил, что половину работы делал впустую один невинный аддон, и в конце снял ещё четверть серверного времени строчкой в конфиге — не сломав при этом ничего из того, что работало. А заодно — полная документация на стек из четырёх своих расширений и preload, на которых форум сейчас и держится.

https://habr.com/ru/articles/1050602/

#debug #manticore #n+1 #nginx #opcache #phpfpm #preload #кэширование

Как я оптимизировал xenforo

История о том, как я загнал главную страницу форума с 88 запросов до 15, выяснил, что половину работы делал впустую один невинный аддон, и в конце снял ещё четверть серверного времени строчкой в...

Хабр

🚀 Tuning OPcache to improve performance

It is recommended that OPcache be enabled on the web server running TYPO3. tThere are some changes you can make to help further improve stability and performance.

➡️ https://docs.typo3.org/m/typo3/reference-coreapi/14.3/en-us/Administration/Production/OPcache/Index.html

#TYPO3 #opcache

Tuning OPcache to improve performance — TYPO3 Explained 14.3 documentation

So I realized the PHP OPcache size was set to 512 Mb on the server where I have 2 WordPress sites running (dev and production) and it was using up too much memory, reaching upwards of 75%. CPU use is very low and it only has 1 Gb memory to keep hosting fees low. I wonder if it's ok to set OPcache to 128 and if it might lower memory use, or does that not make sense?

#PHP #OPCache

We’ve updated our article on OPcache configuration with new insights from our recent video.

It now covers the three configuration options responsible for most performance gains, plus additional OPcache details and tuning tips.

Read the updated article:

https://tideways.com/profiler/blog/fine-tune-your-opcache-configuration-to-avoid-caching-suprises?utm_medium=social&utm_source=mastodon&utm_campaign=fine-tune-your-opcache-configuration-to-avoid-caching-surprises

#PHP #OPcache #WebPerformance #PerformanceEngineering

Did You Know? PHP Optimizes These Function Calls for You!

https://phpc.tv/w/78gbmWxniE4cP2oPAF7Wfb

Did You Know? PHP Optimizes These Function Calls for You!

PeerTube
Ich habe meine #Webseite als #Testinstanz auf meinen #rootServer kopiert und etwas mit der #Performance / den #Ladezeiten getestet, weil ich auf dem Root-Server im Gegensatz zum #Webspace alle Möglichkeiten wie #APCu, #OPCache, #Redis, #Apache Config etc. habe, die Performance zu optimieren.

#Speedtests für Webseiten ergeben auf der Testinstanz ein etwas höheres Ranking. Aber immens ist die Steigerung nicht und ich habe noch nicht herausgefunden, ob /wie ich bei #Joomla von den vollumfänglichen Möglichkeiten des #Caching noch besser profitieren könnte. Man kann in Joomla selbst für das Caching wählen zwischen "aus", "Standard" und "erweitert". Bei aktiviertem Caching zwischen "Datei", "ACPu" und "Redis". Derzeit habe ich "erweitert mit ACPu" auf der Testinstanz aktiviert. Auf dem Webspace geht nur "Datei".

Wenn ich den Seitenaufruf subjektiv vergleiche, empfinde ich keinen erkennbaren Unterschied.

Mir geht's übrigens dabei nicht darum, die Ladegeschwindigkeit durch Veränderung der Webseite zu optimieren (ich weiß, dass ich zu viele Skripte und Designspielereien für eine optimierte Ladegeschwindigkeit nutze), sondern die Überlegung, auf welchem
#Server (Webspace oder root-Server) ich die Webseite künftig betreibe.

Mich würde daher mal interessieren, ob ihr einen Unterschied wahrnehmt, ob und wo sich die Webseite geschmeidiger / flüssiger anfühlt:

https://www.crazy-to-bike.de
https://test.crazy-to-bike.de

Wäre nett, wenn das möglichst viele testen und über die Umfrage Rückmeldung geben würden. Vielen Dank
🙏

Bitte auch
#Boost für mehr #Reichweite
https://www.crazy-to-bike.de läuft flüsiger
0%
https://test.crazy-to-bike.de läuft flüsiger
0%
Ich kann keinen Unterschied feststellen
0%
Poll ended at .
Crazy-to-Bike

Crazy to Bike - Bikeguiding and more

@team

Ich habe gehofft, dass diese #nextcloud Warnung mit dem Update auf die neue Plattform verschwinden. Kann man daran was tun?

#php #opcache #mariadb #manitu #webhosting

You’ve probably seen `use function strlen` in PHP and shrugged.

But here’s the twist: in certain cases, it activates a special compiler optimization in PHP that makes some functions significantly faster.

This is your eureka moment! Here’s how it works, when it matters, and how to adopt it easily: https://tideways.com/profiler/blog/compiler-optimized-php-functions?utm_medium=social&utm_source=mastodon&utm_campaign=compiler-optimized-php-functions

#php #opcache #compileroptimization #phptips #webdev #coding #programming #performance

@karinjiri #php people, this means in our language: clear your #opcache!

Thinking about turning on OPcache Preloading in your PHP app?

It sounds like an easy win—but unless your app is already lightning fast, you might not see much benefit.

In our latest post, we dig into:

- What preloading actually does
- When it’s useful (and when it’s not)
- Real-world gains with hard numbers

Check it out! https://tideways.com/profiler/blog/should-you-use-opcache-preloading-in-your-php-app?utm_medium=social&utm_source=mastodon&utm_campaign=should-you-use-opcache-preloading-in-your-php-app

#PHP #OPcache #Performance #WebDev #Backend #DevTips #Tideways