"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: gotwebd: refresh site to "redirect" after login
To:
Omar Polo <op@omarpolo.com>
Cc:
Johannes Thyssen Tishman <johannes@thyssentishman.com>, gameoftrees@openbsd.org
Date:
Fri, 19 Jun 2026 10:10:03 +0200

Download raw body.

Thread
On Fri, Jun 19, 2026 at 12:28:45AM +0200, Omar Polo wrote:
> Stefan Sperling <stsp@stsp.name> wrote:
> > On Thu, Jun 18, 2026 at 02:49:27PM +0000, Johannes Thyssen Tishman wrote:
> > The only thing which comes to mind is that we should perhaps use our
> > own gotweb.css in the temporary redirect page rather than unstyled HTML.
> > But that might be overkill for a page only a small subset of browsers
> > will ever be displaying long enough for anyone to look at.
> 
> just for a single text line seems a bit overkill, also because it's
> likely that the redirect will be quicker than the request for the CSS
> file (unless it was cached.)

I noticed it because when browsing in dark mode, the brief flash of a
completely white page with just one line of text at the top was irritating.
Using our CSS would avoid that.

The CSS file will already be cached by the browser if the user visited the
login hint page. And if not then the CSS will be needed on the page we are
redirecting to, so fetching and caching it sooner won't hurt.

And text-mode browsers are probably ignoring links to style-sheets anyway?