Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Cache component problem #19912

Copy link
Copy link
Closed
Closed
Copy link
@vudaltsov

Description

@vudaltsov
Issue body actions

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.