Giter Site home page Giter Site logo

Comments (4)

driesvints avatar driesvints commented on August 24, 2024

Works fine for me. Please try a support channel:

Thanks.

from sail.

adellinocasas avatar adellinocasas commented on August 24, 2024

Thanks @driesvints good to know: there is no bug!!
It will be worth trying with a fresh app.
I've already post on Laracasts Forum and StackOverflow...

from sail.

piterog avatar piterog commented on August 24, 2024

I have the same issue

from sail.

finagin avatar finagin commented on August 24, 2024

@adellinocasas, @piterog

  • First, laravel uses different bases for Redis and Cache facades.
    See config/database.php redis.default and redis.cache
    Снимок экрана 2021-07-28 в 14 04 43
  • Second, Laravel uses a prefix for Redis keys.
    See config/database.php redis.options.prefix
  • Thirdly, the Cache facade uses a prefix for the key. Concatenate database.redis.options.prefix and cache.prefix
    See config/cache.php prefix

Finally

To view cache values change database and find keys:

127.0.0.1:6379[1]> SELECT 1;
127.0.0.1:6379[1]> KEYS *bar*
1) "laravel_database_laravel_cache:bar2"
2) "laravel_database_laravel_cache:bar3"
  • laravel_database_ is database.redis.options.prefix
  • laravel_cache: is cache.prefix
  • bar2 your key

from sail.

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.