PHPSocialNetwork / phpfastcache

A high-performance backend cache system. It is intended for use in speeding up dynamic web applications by alleviating database load. Well implemented, it can drops the database load to almost nothing, yielding faster page load times for users, better resource utilization. It is simple yet powerful.
https://www.phpfastcache.com
MIT License
2.36k stars 452 forks source link

how works PDO.caching? #842

Closed dbwodlf3 closed 2 years ago

dbwodlf3 commented 2 years ago

Hello. I am trying to old phpFastCache version(Maybe V4, V5?).

i can find PDO.caching file. but you know, pdo caching as i know it is just database interface. what is the PDO.caching file? i don't any configuration about databases.

i guess it is sqlite file. it is right?

Actually, I would like to know the PDO.caching file is used in memory or just file IO.

github-actions[bot] commented 2 years ago

Hello curious contributor ! Since it seems to be your first contribution, make sure that you've been:

dbwodlf3 commented 2 years ago

Yeah.. i find code about this. default pdo is using sqlite on disk.

Geolim4 commented 2 years ago

Hello yes,

Sqlite is the only Pdo proposed.

Any other DB mechanism (MySQL etc) are non-sense since Phpfastcache purpose is to alleviate database, not overload them.

Cheers, Georges