skip to Main Content

<a> triggers a GET-Request for example, but what does <link> trigger? <img> also triggers a GET-Request

I dont know how to answer this myself and chatgpt says nothing triggers it, but im not content with this answer.

2

Answers


  1. <link> associates a URL with the current document and defines its relationship to that URL. There’s no implicit HTTP method associated with <link> itself.

    For example, a webmention link expects a POST request to be made to it.

    The canonical relation doesn’t specify how the URL should be requested at all, but the implication is that the same request methods for the current URL are supported on the canonical one.

    Login or Signup to reply.
  2. The only thing I use for is CSS Stylesheets, and this usually triggers a GET request on my server.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search