- πΊπΈUnited States smustgrave
Seems there are still general discussions about if this approach should be taken or not.
The permissions table is really slow, especially on actual sites with a lot of modules, node types and so on. To the point of actually timing out.
By far the slowest part is converting the huge render array to a string, because our rendering with all those twig templates, cacheability metadata and so on is slow.
We can try the same approach as #2893117: Improve HTML caching of Simpletest UI test form β and just put a render cache on the table.
This makes a huge difference already on a plain D8 site and I'd expect that the improvements will be even bigger on an actual site:
The problem is that this cache is now never invalidated. We can use a similar approach as in the simpletest issue and use a hash of the permissions as a cache context. But permissions currently have no persistent or static caching. See π Static cache permissions Needs work .
Even without that, it's probably still a considerable improvement but would be even better with static caching.
Needs work
10.1 β¨
Last updated
It affects performance. It is often combined with the Needs profiling tag.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Seems there are still general discussions about if this approach should be taken or not.