Closed (fixed)
Project:
Drupal core
Version:
8.9.x-dev
Component:
cache system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
14 Nov 2019 at 21:30 UTC
Updated:
3 Dec 2019 at 15:39 UTC
Jump to comment: Most recent
Comments
Comment #2
hron84 commentedCan you explain where it causes the described situation and how? Also could you please describe the environment where the issue appears?
Let the developers understand more well the problem itself. Of course, if the code meets the Drupal coding standard and the community approves the patch, it has a high chance to be merged. There is a number of examples in the Drupal Core that user patches applied even for a security issue. Just make it clear how the problem works, how can you trigger it and also tests would be more than preferred to prove the correctness of the patch.
Comment #3
ndobromirov commentedIf you have big-pipe enabled and configured to run correctly you can have 99.9%+ of the page cache-able in the dynamic cache and generate the counter dynamically every time through the mechanism of lazy builders and place-holders, once you mark this piece of the page as non-cache-able.
In that regard this is a supported use-case by Drupal's cache API, but you should thoroughly re-consider do you REALLY NEED to implement view counter in that way...
Comment #4
tch68k commented@hron84: We're sitting on the very same particular forum, you're exactly know what the problem was.
@ndobromirov: Thank you for the detailed explanation.