Closed (fixed)
Project:
AdsTxt
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
20 May 2021 at 19:27 UTC
Updated:
18 Nov 2021 at 00:04 UTC
Jump to comment: Most recent
The response returned by the controller are not currently cacheable.
Given how often the route may be called on more complex installations, I think it makes sense to try and leverage Drupal's caching API here to reduce the load on the backend.
N/A
Ensure that the returned responses implement the \Drupal\Core\Cache\CacheableResponseInterface interface.
As well as provide API to ensure that the response object can be invalidated as appropriate.
Provide an issue fork/patch.
N/A
N/A
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 #3
codebymikey commentedComment #5
marcelovaniThanks for the amazing work done here.
Comment #6
marcelovani