Hi, I have created a static-only app with an 'expires max' directive set, for my django project. Now, I would like to serve content from my /media folder with expires max directive set, too (uploaded user images). What is the correct way to do this? (a) create a static-only app hooked on /media url (like I did before), or? (b) add /media/ folder to the STATICFILES_DIRS setting? (c) some other way. asked 22 Apr '13, 00:21 xpanta |
You'll need to go with your first option (a), as it's the only way to have our system serve your media with the "expires max" directive set. answered 22 Apr '13, 10:56 seanf |