9front - general discussion about 9front
 help / color / mirror / Atom feed
From: "Benjamin Purcell" <spew@cbza.org>
To: 9front@9front.org
Subject: Re: [9front] Howto: manage web content and host multiple sites on 9front…
Date: Thu, 05 Jan 2023 15:08:31 -0500	[thread overview]
Message-ID: <2bbfa542-577a-4e1c-a960-e6b9c6329993@app.fastmail.com> (raw)
In-Reply-To: <6FED4E9B3304F52FD224062F4730C609@9lab.org>

Dear Igor,

Thanks for the tcp80, it looks wonderful. I hope you don't mind if I make a very trivial suggestion which you can certainly ignore. Regcomp is expensive, much more so than regexec so you could just compile the expressions once, this could make a difference for very complicated expressions if the server were under load.

Thanks and best regards!
spew 

On Wed, Jan 4, 2023, at 19:51, igor@9lab.org wrote:
> Maybe some of you find these notes on how to host websites on 9front
> with a customised tcp80 coupled with tlssrv(8) and acmed(8) for SSL
> support, and a ported version of Hugo⁽¹⁾, a Go based static site
> generator, useful:
>
> • https://9lab.org/plan9/web-server-with-go-based-static-site-generator-hugo/
>
> Those of you that already have a working 9front web content management
> and hosting solution might be unimpressed, howbeit, if you are still
> exploring solutions this write-up might provide some ideas…
>
> If you spot any mistakes or attribution errors please let me know.
>
> Cheers,
> Igor
>
> ⁽¹⁾… https://gohugo.io/

      parent reply	other threads:[~2023-01-05 20:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-05  0:51 igor
2023-01-05 11:34 ` umbraticus
2023-01-05 20:08 ` Benjamin Purcell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2bbfa542-577a-4e1c-a960-e6b9c6329993@app.fastmail.com \
    --to=spew@cbza.org \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).