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

PDO Cache is case insensitive? #887

Closed dbwodlf3 closed 1 year ago

dbwodlf3 commented 1 year ago

What's your question ?

many cases database like mysql varchar is case insensitive. sqlite3 is also case insensitive. PHPFastCache are also case insensitive?

References (optional)

No response

Do you have anything more you want to share? (optional)

No response

Geolim4 commented 1 year ago

Hello, "case insensitive" about what exactly ?

If you're talking about cache keys, no it's not case insensitive as per PSR-6 compliance.

dbwodlf3 commented 1 year ago

yes. about cache key. thanks answer. you means, "KEYA" and "KEYa" is different?

actually i am trying this phpfastcache by PDO (maybe sqlite3) but this doesn't works differently about "KEYA" and "KEYa". recognize it as samething.

Geolim4 commented 1 year ago

yes. about cache key. thanks answer. you means, "KEYA" and "KEYa" is different?

Exactly, they will mostly return you different cache item, if it does not then it's bug I should work on.

Geolim4 commented 1 year ago

Hello @dbwodlf3,

I’m closing this issue for now because of (inactivity / outdated code / …).

You can always reopen it though! :) Please (update the issue / add comment / clarify …).

Regards, Georges.L