5.1 The client-server model

The model interaction between:

  • client
  • server
  • network

5.1.1 HyperText Transfer Protocol (HTTP)

library(shiny)
ui <- fluidPage()
server <- function(input, output, session) {}
shinyApp(ui, server)

If we have a look at the developer settings in the browser page, under the network tab —>

We see many files (reload) for all requests.

To improve the speed, as all requests are from a server, let’s have a look at the HTTP requests.