Currently, the logic which is used to count the number of views is placed in ...

Contribution Date
Technology
Contribution Project
Contribution Details

Currently, the logic which is used to count the number of views is placed in the block code. It is causing 2 issues: Views not getting counted if block isn't placed and practically no caching for the counter block. Event subscribers would be a better way to execute the counting logic.

Contribution Author
Files count
0
Patches count
0