dwyl / learn-phoenix-framework

:fire: Phoenix is the web framework without compromise on speed, reliability or maintainability! Don't settle for less. :rocket:
646 stars 45 forks source link

What is the lifecycle of a request? #134

Open SimonLab opened 4 years ago

SimonLab commented 4 years ago

I'm looking at adding a manifest.json file to a phoenix application to create a PWA. However the mix phx.digest creates alaready a cahce_manifest.json file in the priv directory.

At the moment it is not clear (or I forgot) what is the difference between the assets folder and the priv folder. I also need to remember how Phoenix render static assets and how the lifecycle of a request/response works with Phoenix.

ref: