php yoksul adamın önbellek

0 Cevap php

I have some small sets of data from the database (mysql) who are seldom updated.
Basically 3 or 4 small bi dimensional arrays (50-200 items).
This is the ideal case for memcached, but I'm on a shared server and can't install anything.
I only have PHP and MySQL.

Ben dosya üzerinde dizileri depolamak ve bir cron işi her 2-3 saatte aracılığıyla dosyayı yeniden düşünüyorum.

Any better idea or suggestion about this approach?
What's the best way to store those arrays?

0 Cevap