dwyl / dwyl/learn-phoenix

What is the lifecycle of a request?

Open
#134 0 comments 1 reaction 1 assignee Claimed by @SimonLab View on GitHub
enhancement question starter
Dominant language
No language data
Stars
664
Forks
41
PR merge metrics
No merged PRs in 30d

Description

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.

- [ ] Add documentation in Readme how Phoenix manage assets

ref:
- https://hexdocs.pm/phoenix/Phoenix.Endpoint.html
- https://www.netguru.com/blog/phoenix-framework-request-response-life-cycle

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.