FD.io VPP
v21.01.1
Vector Packet Processing
|
clear http static cache.
Clear the static http server cache, to force the server to reload content from backing files
clear http static cache
vpp# clear http static cache
Declaration: clear_http_static_cache_command (src/plugins/http_static/static_server.c line 1720)
Implementation: http_clear_static_cache_command_fn.
http static server www-root <path> [prealloc-fifos <nn>]
[private-segment-size <nnMG>] [fifo-size <nbytes>] [uri <uri>] [debug [nn]]
Enable the static http server
http static server www-root /tmp/www uri tcp://0.0.0.0/80 cache-size 2m
vpp# http static server www-root <path> [prealloc-fios <nn>]
[private-segment-size <nnMG>] [fifo-size <nbytes>] [uri <uri>]
Declaration: http_static_server_create_command (src/plugins/http_static/static_server.c line 1467)
Implementation: http_static_server_create_command_fn.
show http static server sessions cache [verbose [<nn>]].
Display static http server cache statistics
show http static server
vpp# show http static server sessions cache [verbose [nn]]
Declaration: http_show_static_server_command (src/plugins/http_static/static_server.c line 1645)
Implementation: http_show_static_server_command_fn.