Ask Your Question
0

How to host static files on a subdomain?

asked 2012-06-01 09:11:06 -0600

naavi gravatar image

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

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-06-01 17:32:12 -0600

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/"
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-06-01 09:11:06 -0600

Seen: 245 times

Last updated: Jun 01 '12