First time here? Check out the FAQ!
0

How to host static files on a subdomain?

I want to offload all static files (css, js, images) to a separate subdomain. Please let me know the procedure to follow.

naavi's avatar
185
naavi
asked 2012-06-01 09:11:06 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

You can do this by changing the STATIC_URL value, more information here

URL to use when referring to static files located in STATIC_ROOT.

Example: "/site_media/static/" or "http://static.example.com/"
Fitoria's avatar
1.1k
Fitoria
answered 2012-06-01 17:32:12 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments