- Issue created by @kaszarobert
- 🇸🇰Slovakia kaszarobert
I replaced the PostRenderSubscriber code with almost the same as what is used in modules/contrib/entity_print/src/EventSubscriber/PostRenderSubscriber.php and that way it starts working again.
- 🇸🇰Slovakia kaszarobert
Alright, we're experiencing constant timeouts and higher database load in production with my previous solution.
The main problem is Drupal does not generate the CSS files during generating the HTML and due to the slowness with web requests is see that only current the file:// method is viable.
I have no other idea than disabling the CSS aggregation in the parent entity_print module. And I attach my quick fix for that. But again note that this patch is for entity_print, not for entity_print_chrome!