GithubHelp home page GithubHelp logo

Large response size about wp-redis HOT 2 OPEN

elmeligy avatar elmeligy commented on July 18, 2024
Large response size

from wp-redis.

Comments (2)

rwagner00 avatar rwagner00 commented on July 18, 2024

Unfortunately I'm not sure that this is a bug in the WP Redis module so much as a conflict between something that WP wishes to store/retrieve in Redis and a setting in the Azure Redis instance. The log doesn't specifically call out which units of measurement it's using, but if the size 20124128 is in bytes as I suspect, that's a 20MB entry in the Redis cache. This would be very abnormally large for a cache entry, and is probably a file of some sort which should be served via the filesystem or a CDN.

With that in mind, my first recommendation would be to investigate what Redis is attempt to store that is that large, and determining:

  1. What, specifically, the site is attempting to cache
  2. Whether it is WP Core, custom code, or a third party plugin attempting to cache this item
  3. Whether or not It is appropriate to cache this item at all

If it turns out to be a misreporting or a bug, please let us know!

from wp-redis.

elmeligy avatar elmeligy commented on July 18, 2024

Hi J Ryan

thank you for your feedback

is there a way you recommend to check what WP is trying to store on redis ?
is there an option in the plugin like debug log , that can show what it is trying to store ?

also , is there a way to set the max response size ?

from wp-redis.

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.