elkarte / Elkarte

ElkArte Forum. A free, open source, modern discussion forum / BB
https://elkarte.github.io/Elkarte/
BSD 3-Clause "New" or "Revised" License
175 stars 61 forks source link

Cache #3801

Closed Spuds closed 2 months ago

Spuds commented 2 months ago

Adds redis cache support (2) ways

One uses the phpredis pecl extension One uses the predis\predis php library

Its up the the admin (site and server) how they want to install those. pecl is straight foward, and in the PR the predis would have to be placed in the ext directory. I think moving to full composer vendor directory support is the direction we should move and drop the ext directory or leave it there just for addons not the core.

Still need to add tests

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 43.59%. Comparing base (da9ee2e) to head (adfb03c). Report is 1 commits behind head on development.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## development #3801 +/- ## ================================================= + Coverage 43.49% 43.59% +0.10% - Complexity 13955 14045 +90 ================================================= Files 348 350 +2 Lines 74966 75199 +233 ================================================= + Hits 32606 32785 +179 - Misses 42360 42414 +54 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.