10.8 Global Page Resources in the assets/ Directory
Right, let’s talk about your assets/ directory. This isn’t just a junk drawer for your random files; it’s a meticulously organized, pre-compiled treasure chest. Think of it as your project’s VIP lounge. Files in here get special treatment: they’re bundled directly into your final application, untouched by the usual processing that other files (like those in lib/ or static/) might go through. Their names are hashed for cache-busting glory, and their original folder structure is (mostly) respected. It’s the first place you should reach for when you need an image, a font, a PDF, or any other static resource that’s core to your pages.