login community faq

I notice in the Webfaction static files help docs, it says you can now enable far-future expires headers on the nginx (static-only) apps, if you enter "expires max" (without the quotes) in the "Extra info" box when creating the app.

If I didn't enter this initially when setting up the app, do I really have to delete my app and re-create it with this typed into the box in order to enable far-future expires headers? I set the option just now and YSlow is reporting no effect at this point. Wondering if there is some reset I can do for it to recognize the setting now.

asked Jul 16 '11 at 10:38

swiharta's gravatar image

swiharta
1816

edited Jul 16 '11 at 10:39


The Control Panel settings of existing applications cannot be changed. You will need to re-create the app if you want to enable that settings.

answered Jul 16 '11 at 10:43

tie's gravatar image

tie
140613

k, thanks!

(Jul 16 '11 at 10:58) swiharta swiharta's gravatar image

OK I re-created the static-only app with "expires max" in the "Extra info", but YSlow is still telling me it's not working.

This might be a dumb question, but if I'm symlinking from the static app folders to the folders in my django application's site_media folder, which themselves contain a bunch of symlinks to the actual files (made with the staticfiles app), will the expires-header I've supposedly set still have an effect?

(Jul 16 '11 at 11:18) swiharta swiharta's gravatar image

You wisely waited for me to figure out I screwed something up. I had mixed up which static app I was directing my "Website" to for serving static media. It's all good now. Symlinking like crazy works fine.

(Jul 16 '11 at 13:16) swiharta swiharta's gravatar image
Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited