Why do some of the server-side scripts have a “.cgi” extension?

Node Link

I picked it as an implementation language-agnostic extension, to make the web-server's configuration easier. I don't know whether they are being run as CGI or a different technology in practice. I also do not care too much, as long as they run quickly enough, which seems to usually be the case so far.