Coder Social home page Coder Social logo

Configuring cacheops about django-cacheops HOT 3 CLOSED

jkeesh avatar jkeesh commented on August 15, 2024
Configuring cacheops

from django-cacheops.

Comments (3)

Suor avatar Suor commented on August 15, 2024

cacheops don't work with django cache system, so it doesn't respect CACHES setting. It uses CACHEOPS_REDIS setting instead, see Setup section in README. You might also want to look into Perfomance Tips.

And issues should not be used for support by the way.

from django-cacheops.

jkeesh avatar jkeesh commented on August 15, 2024

Yes, I've read those -- but thank you for the response. I know it's an open source project, but what's the preferred way to ask questions, just Stack Overflow, or do you recommend something else?

(forgot to include the other part of the setup, just for reference)

CACHEOPS_REDIS = {
    'host': 'localhost',  # redis-server is on same machine
    'port': 6379,         # default redis port
    'db': 2,              # SELECT non-default redis database
    'socket_timeout': 3,
}

from django-cacheops.

Suor avatar Suor commented on August 15, 2024

You was talking about MAX_ENTRIES. cacheops doesn't respect that too (as part of CACHES setting). It just caches everything it is assigned too. Through CACHEOPS setting or .cache() method.

I've no policy for questions, so, yes, "go StackOverflow!" :) You can also ask in django-users group or alike.

from django-cacheops.

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.