Would it be possible to store settings in simple config?

Created on 26 June 2025, 26 days ago

You documentation is quite excellent on how to configure the settings for the module. I see you the developer needs to hard code all of the settings in a settings.php file.

Would it be possible to store these settings in a simple config file, say crawler_rate_limit.settings.yml ?

If so, we'd be able to create Drupal recipes that could preconfigure the module for the different scenarios. That would help lower risk of misconfiguration, and expedite installation.

Thanks for your contribution!

✨ Feature request
Status

Active

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States thejimbirch Cape Cod, Massachusetts

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

Comments & Activities

  • Issue created by @thejimbirch
  • πŸ‡·πŸ‡ΈSerbia vaish

    Thanks, @thejimbirch. I appreciate your feedback. Are you proposing to use Drupal's Configuration API and make CRLs configuration importable/exportable? I would really love to make this module as easy to use as possible, however, my primary concern is performance. Considering that CRL needs to inspect (process) each and every request (being implemented as http middleware β†’ ), my goal was to make it so that overhead of using the module is minimal. I believe that using the Configuration API would increase that overhead. Or did you have something else in mind? Let me know.

Production build 0.71.5 2024