This is a feature so you wont get your static files linked form outside (damn people stealing bandwidth).

On 5/2/06, jvanasco < [EMAIL PROTECTED]> wrote:

Just a heads up -- debugging an app, i've noticed that identity is run
for every image / css / js file by default.  that was causing me a
giant performance hit.

altering the end of app cfg to have identity.on = False works to
alleviate this:

[/static]
static_filter.on = True
static_filter.dir = "%(top_level_dir)s/static"
identity.on=False

[/favicon.ico]
static_filter.on = True
static_filter.file = "%(top_level_dir)s/static/images/favicon.ico"
identity.on=False



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to