Skip to content

Make Subrequests module optional #744

Open
@fiasco

Description

@fiasco

Package

next (Drupal module)

Describe the feature request

I'm using next-drupal 1.x but I've opted not to leverage the sub-requests module. The primary reason for this is to opt for cache performance (subrequests uses POST which isn't cacheable) over a lower frequency of requests (subrequests reduce total number of requests although it doesn't reduce net badwidth).

I'd like to use Drupal's External Entities modules but that conflicts with Subrequests - a module I'm not using but is present and enabled in my codebase because the Next module requires it.

Describe the solution you'd like

Remove Subrequests as a required module. Perhaps move it to a composer suggested module. I'd argue that the performance given by this module in request reduction is a negative performance optimization as it stops you from leveraging application caching in Drupal, platform caching (e.g. Varnish), CDN caching and Next.js static caching (virtually all layers).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageA new issue that needs triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions