Code Monkey home page Code Monkey logo

cache's Issues

Question about Adapters

I'm trying to use Memcached adapter.

For my own cache engine I need to have access to the memcached $driver variable from adapter instance.

For that, I would extends the framework Memcached class but the $driver variable has private access.

Could it be protected ?

Thanks @mbabker.

Is there a replacement for this repository?

Hi Guys! I really appreciate your work, Is awesome!

I saw this repository is deprecated and i would like to know if exists a replacement or what Joomla CMS will be using in the future.

Should i use another cache repo like symfony/cache or something like that?

Best!

[2.0] Timestamp issue

The max cache lifetime can only be 59 minutes right now because of how the timestamps are processed. Probably should fix this.

Support PSR-16?

PSR-16 was recently approved which is a simplified version of the PSR-6 interfaces. Should this package aim to support PSR-16 as well as PSR-6, or only support one or the other?

[2.0] Build Failures

I can reproduce both of these on my local system, so it's possible to get a bit more info from that.

1) Joomla\Cache\Tests\Adapter\MemcachedTest::testGetAndSaveWithTimeout
Should store the data properly
Failed asserting that false is true.

The response code from the adapter's save method is 17, which according to https://secure.php.net/manual/en/memcached.constants.php a PHP constant doesn't exist for, but it corresponds to a memory allocation failure.

2) Joomla\Cache\Tests\Adapter\RedisTest::testGetAndSaveWithTimeout
Checks expired get.
Failed asserting that true is false.

This one looks like the cache TTL is not being respected and an item that should expire isn't.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.