Support the ongoing development of →
Configuration Architecture
Last updated 10 months ago.

You mean a CDN? E.G:

Last updated 10 months ago.

I'd say this should be very straigh forward for a basic use case: just use the asset server's URL in all links in the HTML that reference a static file. The only issue I see is that you can't use relative paths for the src and href attributes in the HTML, but need to instead always type the fully qualified path to the other domain.

Last updated 10 months ago.

I've adapted Dayle Rees' approach to this, since it allows me to serve assets locally in development and refer to my CDN provider of choice in production.

The project can be found at:

Reference these files for usage:

Autoload: (See lines 12-14)

Config: (See lines 30-38)


Usage: (See lines 13,17 and more)

Last updated 10 months ago.

Sign in to participate in this thread!


Your banner here too?

Saradimi saradimi Joined 17 Feb 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 - All rights reserved.