I did some performance tests with subrequest module and figured that page cache was not working.
Problem was a notice due to the unset 'body' attribute for my blueprint request, which was a GET request. Result was a drupal message as error reporting is on in my dev setup, thus page cache was disabled.
Attached patch fixes the notices and thus page cache. It might be a good idea to improve test coverage for some various blueprint requests and page cache but that would be best done in a separate issue imo.
Comment | File | Size | Author |
---|---|---|---|
#2 | d8_subrequests_notices.patch | 1017 bytes | fago |
Issue fork subrequests-2938625
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
fagoComment #3
fagoComment #4
e0ipsoThanks for the patch!
Comment #6
e0ipso