Saturday, April 26, 2014

Re: Django and SSL

Using a separate sub domain future-proofs your site in the event it grows large and you need to split your dynamic and static content between servers. 

It also makes it easier to parse statistics from the logs. Most web log analyzers will handle a separate sub domain out of the box better than using a sub directory (although both should work fine if your log analysis tool is decent) when trying to determine hits to dynamic content vs. static content.

Don't stress on it for lower traffic sites though. Start with the basics and work your way up to fancy.

Just my personal thoughts. :-D

-James



On Saturday, April 26, 2014, Venkatraman S <venkat83@gmail.com> wrote:

On Sat, Apr 26, 2014 at 2:46 PM, James Schneider <jrschneider83@gmail.com> wrote:
If you use a separate subdomain for static content (recommended), even on the same server, include that as well.


Thanks James. I did not know this(subdomain for static content) was recommended. Why?

Regards,
Venkat 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAN7tdFSzWbUm8ejN16exktHfTK2RjwPMZESKoTSDOPYYVFZC6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2Be%2BciW-7aKOHn2J1X0hACfhuEy6giRHAKWf8kzfPmS7CJdZWQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment