Code Monkey home page Code Monkey logo

Comments (4)

mikebronner avatar mikebronner commented on May 17, 2024

If you are configuring caching outside of Laravel, then this package probably isn't for your use case. This package specifically uses the cache driver configured in the app configuration, and is not meant to be used with external caching services.

If you do have the cache driver configured in the laravel config files, please reopen this issue and provide more details as to what problems you are having. Thanks for trying this package out, and good luck on your project! :)

from laravel-model-caching.

rssawhney avatar rssawhney commented on May 17, 2024

I am configuring cache inside laravel only, I am using 1 redis instance and 1 memcached. Where memcached one is defined in .env as CACHE_DRIVER.

This package is using the memcached driver for caching. I want to use the redis as caching driver that's why I was asking to add a custom driver option.

Something like this package https://github.com/dwightwatson/rememberable#cache-driver

from laravel-model-caching.

mikebronner avatar mikebronner commented on May 17, 2024

HI @rssawhney thanks for following up with more details. I see now what you mean: you have two Laravel cache drivers defined, and want a way to specify which one to use. That makes sense! I will look into that. Thanks for the clarifying your use-case, that makes a lot of sense to add that ability to this package.

from laravel-model-caching.

mikebronner avatar mikebronner commented on May 17, 2024

Just released version 0.2.13, please let me know if that fixes your issue. :)

Thanks!

from laravel-model-caching.

Related Issues (20)

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.