8000 Cache component problem · Issue #19912 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Cache component problem #19912
Closed
Closed
@vudaltsov

Description

@vudaltsov

Symfony 3.1

  1. Run from console cache:clear
  2. Run command, which saves an item in the symfony cache
  3. Open the page in browser, where this item is fetched, get $cacheItem->isHit = false

Working scenario:

  1. Run cache:clear
  2. Open some other page in browser (which doesn't request the item from the cache)
  3. Run command, which warms-up the cache item
  4. Open the page in browser, where this cache item is fetched, get $cacheItem->isHit = true and everything works fine

So, it looks like running the cache warm-up command right after the cache:clear command doesn't make sense. Is this the expected behaviour?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0