Hello guys, some time ago I read that 90% of the time, the CPU waits for an I / O HDD, but django recommends using static files on another server, but if you include the styles and JavaScript in the <style> and <script> and RAM charge, the charge will be faster, because charge templates in RAM, using this configuration in production.py:
# This line load templates on the RAM Memory TEMPLATES[0]['OPTIONS'].update({"loaders": loaders}) TEMPLATES[0].update({"APP_DIRS": False}) But i try some, it is ok, but my question is, Is posible open css from static? Please see the pictures for more information -- 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+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/962aa9c4-9d58-4d71-961e-4fce14285f6a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.