Re: [Koha-devel] Why is config ($KOHA_CONF) stored in memcached ?

2021-05-02 Thread Julian Maurice
Patch is ready to be tested at https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28276 ;) Le 01/05/2021 à 14:53, Tomas Cohen Arazi a écrit : I vote for fixing it so the file is only hit the first time. El vie, 30 abr 2021 a las 14:19, Julian Maurice

[Koha-devel] HTTP/HTTPS cheme in Base Path in API documentation

2021-05-02 Thread dcook
Hi all, I just noticed on a HTTPS site that the Base URL at /api/v1/.html was listed as HTTP rather than HTTPS. Looking at Mojolicious::Plugin::OpenAPI, it seems that it's hard-coded to HTTP *if* a scheme isn't specified in the spec:

Re: [Koha-devel] Why is config ($KOHA_CONF) stored in memcached ?

2021-05-02 Thread dcook
Sounds good to me. I don’t recall how long the Koha conf has been stored in Memcached, but it would have benefited CGI Koha since every HTTP request would’ve done a disk read. But I think we’ve pretty much moved on from CGI now, so +1 to only reading koha-conf.xml once at startup. This