Static Files

1 view
Skip to first unread message

Mauro Ciancio

unread,
Dec 23, 2009, 6:36:30 PM12/23/09
to turbo...@googlegroups.com
Hello,
  I'm using TG 2.0 and I want to server some js&css static files that
comes from the ToscaWidget framework. The files are under the
following url:


That's an example. 

  I want to statically publish these files so they can be cached by the browser.
If the files are served through the TG framework, they are forced to
be reloaded in every request making the app inusable.

Any ideas?

I'm deploying my app using paster.
Cheers.
--
Mauro Ciancio <maurociancio at gmail dot com>

Diez B. Roggisch

unread,
Dec 24, 2009, 3:08:03 AM12/24/09
to turbo...@googlegroups.com
I answered that question in the toscawidgets mailing List already. Did you try out what I suggested? 

Diez

--

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.

Mauro Ciancio

unread,
Dec 24, 2009, 9:06:00 PM12/24/09
to turbo...@googlegroups.com
Diez:

On Thu, Dec 24, 2009 at 5:08 AM, Diez B. Roggisch <de...@web.de> wrote:
I answered that question in the toscawidgets mailing List already. Did you try out what I suggested? 

Yes, I've tried it and it worked great.
Thanks you!

Cheers.
Reply all
Reply to author
Forward
0 new messages