BuddyDev

Search

[Resolved] Improving Profanity Filter loading speed

  • Participant
    Level: Initiated
    Posts: 9
    Samuel Stacey on #36022

    We noticed that with the Profanity filter activated, it adds at least 18s to the loading time. Any recommendations on improving the load speed?

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #36026

    Hi Samuel,
    Thank you for using the plugin.

    The plugin uses regular expression for the profanity matching. Is there any chance you too many words for the profanity?
    We recommend limiting to 100 – 200 words at most.

    If that is not the case, Please do let me know the settings.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 9
    Samuel Stacey on #36030

    That’s helpful :). Our list is long then, we have a vocabulary for 7 languages on our site.

  • Keymaster
    (BuddyDev Team)
    Posts: 24149
    Brajesh Singh on #36037

    Hi Samuel,
    Thank you for the reply.

    For such a large list, using some kind of profanity checking API will be a better solution.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: resolved