Skip to content

[Router][Feature] Append new router to cache container without regenerating it. #29590

Closed
@chiqui3d

Description

@chiqui3d

Description

I expose my case:

I'm generating dynamic URL through a custom Loader, the problem comes when you generate a new URL through a CMS, which to work that new dynamic URL must run the router cache clear again. Right now I have no problem because I have 10 URL and does it instantly with $cache->warmUp() -->(https://stackoverflow.com/a/35054345/2046442), but would be better a Method to add a new Router to the container without having to regenerate all cache again. I can't find that option/method anywhere.

Example

It could be a good option to add it in RouterInterface

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