Pages hang while loading when Link Title filter is enabled.

Created on 30 April 2016, over 8 years ago
Updated 15 July 2024, 5 months ago

I encountered this with a production site so at this moment I can't provide much experimental test results.
Directly after enabling this Link Title module as filter in Full HTML field of type text area, the pages start to hang while loading.
That site uses Eck entities and custom text area fields.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇳🇱Netherlands Yuri

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇩🇪Germany Anybody Porta Westfalica

    7.x won't receive further features, but we should 100% ensure we're using caching and non-blocking implementation for 8.x! :)

    @Grevil please have a look when there's time for that.

  • I've had to disable this filter for now as it often causes the site to crash when rebuilding after a cache clear. Broken links in particular seem to slow it down to the point of timeout.

  • 🇩🇪Germany Anybody Porta Westfalica

    I'm still quite sure this should be solved by caching and I'm wondering why core isn't solving this already, as in general the results should be cacheable in most cases, if the underlying field content / texts did not change!

    Eventually, this is simply using a wrong filter type? (https://git.drupalcode.org/project/linktitle/-/blob/8.x-1.x/src/Plugin/F...)

    So I think we need to

    1. Investigate the deeper reasons: Where does it hang and why - what can we do about that in general
    2. Why aren't the results cached for this filter, if the underlying text didn't change? (Results should be the barely the same until cache expiration)
    3. Find ways to improve this!

    I guess there are other input filters out there maybe doing heaving things, that already solved this (partially)?

    Community help welcome! We're quite busy currently.

Production build 0.71.5 2024