Skip to content

Cached entries always have an impact 0 #49

@virtuaris

Description

@virtuaris

Hi there,

first of all many thanks for your great work, very appreciated.

I just wonder if this is an intended behaviour or kind of a bug:
If caching is activated via $manager->setCache($cache); every request on a cached request will leave impact as 0 since the code setting impact is never reached (done in Manager.php function processFilters()). Thus any further processing based on impact assumes a clean, non-offending request.
Imho caching should just avoid the re-application of filter rules but it should not bypass actions taken on impact. In other words why should an offending request be considered harmless just by the fact that it has been cached?
Bests
Harald

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions