Grinnz / perldoc-browser

Perldoc Browser
https://perldoc.perl.org
Artistic License 2.0
55 stars 21 forks source link

Respond with the same hostname #29

Closed briandfoy closed 4 years ago

briandfoy commented 4 years ago

perldoc.perl.org now points to perldoc.pl. The response changes the hostname from perldoc.perl.org to perldoc.pl. I'd like to keep the same host from the request.

Grinnz commented 4 years ago

That is because perldoc.perl.org is set up as a HTTP redirect, before this site is reached. It is up to @rspier and @abh how that is configured.

rspier commented 4 years ago

There are advantages and disadvantages to both options. We're still evaluating what we want to do here moving forward.

jwrightecs commented 4 years ago

Might want to switch it to a 302 until this is resolved, for search engine reasons

Grinnz commented 4 years ago

perldoc.perl.org is now a Fastly-backed caching layer so the redirect no longer occurs. You may need to clear your browser's cache if it's cached some of the 301 redirects to perldoc.pl in the past couple days. Thanks @rspier