Easy PHP Caching in 15 minutes to improve performance - Cache MySQL query results

  Рет қаралды 8,822

Fabian 👁

Fabian 👁

Күн бұрын

Here's a very simple and fast way to get yourself started with PHP Caching.
In this video, I am showing you a real-world use case where Caching MySQL query results will help improve your PHP script performance.
You should not use Caching alone to try and "fix" slow MySQL queries, you should always make sure that your queries are as fast as possible first of all. The addition of caching will make everything even faster if everything else is done right.
The test in this video was done on a $5 basic VPS to show the potential results of before and after.
📝 Article about this video
grohsfabian.co...
📚Personal blog
grohsfabian.com
🔥 My affiliate links if you want to support me
DigitalOcean Hosting - l.grohsfabian.... (Get $100 in usable credit)
Namecheap Domains - l.grohsfabian....
#php #programming #phpcaching

Пікірлер: 10
@PawanKayat
@PawanKayat 4 ай бұрын
Very Very Greate Video
@yonut
@yonut Жыл бұрын
Felicitari! :)
@dansonmwangi5660
@dansonmwangi5660 Жыл бұрын
Gracias hombre,,
@davidchriss9618
@davidchriss9618 11 ай бұрын
Thank you
@Ditzj
@Ditzj Жыл бұрын
Interesting for sure. You add a PHP link with a variable, but what if you do different queries all from the same URL, like on a map with a search panel beside it ?
@brixwork
@brixwork 5 ай бұрын
Those would be pointless to store in memcache if the variations are huge.. and it would eat up RAM space (this sits on RAM I believe). You pick & choose what to cache. Page content etc. that doesn't change freqently would be great. You can also specify the expiry duration depending on each cache, so write a nice function that determines the type, key and duration well, and boom. Good to go.
@winz1527
@winz1527 Жыл бұрын
Great video.
@Axellplays
@Axellplays 9 ай бұрын
Super folositor, se poate face treaba asta si fara composer ? Ma refer strict folosind php vanilla
@Sdirimohamedsalah
@Sdirimohamedsalah 11 ай бұрын
Difficult to decide which data should be cached
@jesuschrist5294
@jesuschrist5294 7 ай бұрын
ever heard of OOP and classes? :D
Caching Mysql Query Responses in Redis using PHP
21:14
CS with NJ
Рет қаралды 12 М.
Cache Systems Every Developer Should Know
5:48
ByteByteGo
Рет қаралды 490 М.
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 1,4 МЛН
Секрет фокусника! #shorts
00:15
Роман Magic
Рет қаралды 119 МЛН
when you have plan B 😂
00:11
Andrey Grechka
Рет қаралды 63 МЛН
Cute
00:16
Oyuncak Avı
Рет қаралды 11 МЛН
Devlog #11- How to make your DB fast by using Caching
8:34
Superthread
Рет қаралды 16 М.
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,5 МЛН
Intro To Memcached
35:14
Traversy Media
Рет қаралды 70 М.
This is why you need caching
10:03
Web Dev Cody
Рет қаралды 43 М.
Caching REST API responses in Redis using PHP
26:30
CS with NJ
Рет қаралды 7 М.
The secret behind FrankenPHP: Will it revolutionize PHP?
12:40
Chris Fidao
Рет қаралды 41 М.
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 1,4 МЛН