<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Operations on WebP Server Documentation</title><link>https://docs.webp.sh/operations/</link><description>Recent content in Operations on WebP Server Documentation</description><generator>Hugo</generator><language>en</language><atom:link href="https://docs.webp.sh/operations/index.xml" rel="self" type="application/rss+xml"/><item><title>Healthz</title><link>https://docs.webp.sh/operations/healthz/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webp.sh/operations/healthz/</guid><description>&lt;h1 id="healthz"&gt;
 Healthz
 &lt;a class="anchor" href="#healthz"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;There is a &lt;code&gt;/healthz&lt;/code&gt; endpoint that can be used to check if the server is up and running. You can use this endpoint for liveness probe.&lt;/p&gt;
&lt;p&gt;It returns a &lt;code&gt;200&lt;/code&gt; status code if the server is up and running.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;curl localhost:3333/healthz -v
* Trying 127.0.0.1:3333...
* Connected to localhost (127.0.0.1) port 3333 (#0)
&amp;gt; GET /healthz HTTP/1.1
&amp;gt; Host: localhost:3333
&amp;gt; User-Agent: curl/8.0.1
&amp;gt; Accept: */*
&amp;gt;
&amp;lt; HTTP/1.1 200 OK
&amp;lt; Server: WebP Server Go
&amp;lt; Date: Fri, 15 Dec 2023 03:16:08 GMT
&amp;lt; Content-Type: text/plain; charset=utf-8
&amp;lt; Content-Length: 34
&amp;lt; Etag: W/&amp;#34;34-1945155614&amp;#34;
&amp;lt;
* Connection #0 to host localhost left intact
WebP Server Go up and running!🥳%
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>Prefetch</title><link>https://docs.webp.sh/operations/prefetch/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webp.sh/operations/prefetch/</guid><description>&lt;h1 id="prefetch"&gt;
 Prefetch
 &lt;a class="anchor" href="#prefetch"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;Prefetch is useful if you&amp;rsquo;d like to have all your images converted in advance, especially suitable for large amount of images with high traffic volume, using prefetch will convert your images and cache the converted images, hence future requests will not consume computing power.&lt;/p&gt;
&lt;h2 id="start-server-with-prefetch"&gt;
 Start server with prefetch
 &lt;a class="anchor" href="#start-server-with-prefetch"&gt;#&lt;/a&gt;
&lt;/h2&gt;
&lt;p&gt;Start WebP Server with prefetch enabled will convert all your images to WebP on startup in background, the following things will happen in this mode:&lt;/p&gt;</description></item><item><title>Log Verbosity</title><link>https://docs.webp.sh/operations/logging/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.webp.sh/operations/logging/</guid><description>&lt;h1 id="log-verbosity"&gt;
 Log Verbosity
 &lt;a class="anchor" href="#log-verbosity"&gt;#&lt;/a&gt;
&lt;/h1&gt;
&lt;p&gt;You can control log level using &lt;code&gt;--verbosity&lt;/code&gt; flag on startup, e,g: &lt;code&gt;./webp-server --verbosity 0&lt;/code&gt;&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;0 = silent (no log messages)
1 = error (error messages only)
2 = warn (error messages and warnings only)
3 = info (error messages, warnings and normal activity logs)
4 = debug (all info plus additional messages for debugging)
&lt;/code&gt;&lt;/pre&gt;</description></item></channel></rss>