The Javascript files, CSS files, image files, fonts, and other resources used to create the client-side experience of your web application are collectively known as assets. In UserFrosting, assets are kept under the assets/
subdirectories of each Sprinkle.
When a user loads a page of your website in their browser, it includes a number of <link ...>
, <img ...>
, <script ...>
and other tags that tell their browser how to fetch these additional resources from the server.
When dealing with assets on the server, our application needs to address two problems:
These questions are answered in this chapter.