I've developed an app using tg 2.0 and it uses the admin frontend to
do the
CRUD stuff.
The problem is that the interface is too slow, I mean, it takes
about 25~30
seconds to load and not only the first time. Every time that I switch
to another
model takes the same time.
I've used wireshark to see what was happening and I realized that
the browser
reloads in every request all the css and the js files. These js are
from the
dojo library and sprox widgets.
I'd like to know if there's a workaround to solve this or if I'm
doing something
wrong.
When the browser request one of my own css, it sends the 'if-
modified-since'
header and the server response 'not modified'. But, with dojo and
sprox js
this doesn't happens.
Any ideas?
Cheers,
Mauro Ciancio.
Have the admin's static files served up by the web-server not python.
See the documentation here:
* http://toscawidgets.org/documentation/ToscaWidgets/deploy.html
> --
>
> You received this message because you are subscribed to the Google Groups "TurboGears" group.
> To post to this group, send email to turbo...@googlegroups.com.
> To unsubscribe from this group, send email to turbogears+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.
>
>
>
--
Mark Ramm-Christensen
email: mark at compoundthinking dot com
blog: www.compoundthinking.com/blog
As Mark suggested,
1. deploy via apache and modwsgi.
2. If still slow I would try rum admin interface.
How big are your tables? I've used both on 70mb table and it browsed just fine?
Thanks,
Lucas
He's talking about page load time for static resources. Nothing todo
with table size.
Diez