Skip to content

Price cached on the Redis server. #27146

Closed
@drew7721

Description

@drew7721

Preconditions (*)

  1. Magento 2.3.2 and above
  2. Need to have multiple instances that have independent Redis servers on each instance.
  3. Say using something similar to this https://devdocs.magento.com/common/images/cloud_stack-diagram.png

Steps to reproduce (*)

  1. Change a product price.
  2. Only the Redis cache on the admin instance will be flushed, not the Redis caches on the other instances.

Expected result (*)

  1. Flush caches on all redis instances like it's done for varnish.

Actual result (*)

  1. The price does not change on all instances.

This was introduced by this commit 1d9b1ba and all the other commits related to it.
Based on the commit message it's fixing some MC-6273 issue that has to do with the queries to the url_rewrite table. Don't see how the commit message is relevant with the code changes.

I really don't see the need to cache the product price_box html once more in Redis when we have the full_page cache for that.

How many layers of caching are needed?

Instead of fixing bugs caused by caches such as #3625 this is now adding more caches that will just cause more issues down the line.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions