Django-CMS admin slows down with lots of pages 分页 paing johnny-cache

Django-CMS admin slows down with lots of pages
3 名作者发布了 6 个帖子
 
 
Dr Congo
11-1-20
Is there any way to stop Django-CMS from loading every single page
when visiting /admin/cms/page/? I've just migrated a few hundred pages
from another CMS to Django-CMS and this admin screen now takes about
25 seconds to load on a local VM which is really painful to work with.

Thanks.
 
centralniak
11-1-21
2011/1/20 Dr Congo <beau...@gmail.com>
- 显示引用文字 -
If it's about a large amount of queries, you could try johnny-cache.

If there is some other reason, I'm curious what it is :)

Regards,
Piotr
 
Brendan Smith
11-1-21
i was going to recommend caching options, but as far as i know, the admin section is never cached.  someone chime in if i'm mistaken

- 显示引用文字 -
- 显示引用文字 -
--
You received this message because you are subscribed to the Google Groups "django-cms" group.
To post to this group, send email to djang...@googlegroups.com.
To unsubscribe from this group, send email to django-cms+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-cms?hl=en.



--
Brendan Smith, IT Coordinator
National Priorities Project
http://www.nationalpriorities.org
http://www.costofwar.com
http://www.facebook.com/nationalpriorities
413 584 9556
 
centralniak
11-1-21

i was going to recommend caching options, but as far as i know, the admin section is never cached.  someone chime in if i'm mistaken
johnny caches only the QuerySet so it might be helpful here...


Regards,
PK
 
Dr Congo
11-1-21
 
Thanks both, I'll give it a go and report back with my results.

- 显示引用文字 -
- 显示引用文字 -
--
You received this message because you are subscribed to the Google Groups "django-cms" group.
To post to this group, send email to djang...@googlegroups.com.
To unsubscribe from this group, send email to django-cms+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-cms?hl=en.
 
Dr Congo
11-1-21
 
johnny-cache has unfortunately made no difference to the load time for the CMS, it seems that this is just down to the sheer size of the html document that gets loaded, which clocks in at 67k lines and ~2Mb
 
Not sure there's much I can do about that without hacking the JS to make it load tree nodes on demand rather than up-front.

On 20 Jan 2011, at 18:03, Piotr Kilczuk wrote:
- 显示引用文字 -
--
You received this message because you are subscribed to the Google Groups "django-cms" group.
To post to this group, send email to djang...@googlegroups.com.
To unsubscribe from this group, send email to django-cms+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-cms?hl=en.
 

分享到: 微信 更多