Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If the current page contains a link to itself (ie : in a menu, or footer) the page will be prefetched.
It's not that important, but unnecessary and it should be relatively easy to add the curent url in the ignore list.
Comment | File | Size | Author |
---|---|---|---|
#2 | ignore_current_url-3160964-2.patch | 720 bytes | fjgarlin |
|
Comments
Comment #2
fjgarlin CreditAttribution: fjgarlin as a volunteer commentedI think the attached patch will do that. I tried with debug mode enabled and on a logged out session and could clearly see the links to the current page added to the ignored list.
I hope it helps.
Comment #3
fjgarlin CreditAttribution: fjgarlin as a volunteer commented