Note also that this works:
config.add_static_view('http://another/static/file/server',
'deform:static')
- C
>
>
>
>
>
> Kai
> --
> You received this message because you are subscribed to the Google
> Groups "pylons-discuss" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pylons-discuss/-/e3oMXi47emoJ.
> To post to this group, send email to pylons-...@googlegroups.com.
> To unsubscribe from this group, send email to pylons-discuss
> +unsub...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pylons-discuss?hl=en.
The example I gave is not. See
http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/assets.html#serving-static-assets paragraph starting with "Instead of representing a URL prefix,...."
> - I want to bypass that completely, by making the actual files of the
> referenced deform library directly accessible to the frontend server
> ( which would be nginx or varnish ).
> - I don't want pyramid to ever handle these files
> - I want to ensure that the files are 'up to date' ( ie, not have to
> continually copy the deform static files )
Use a symlink and the above.
- C
No.. I'd never do that as part of an app. I might cause a build script
to do it, but I'd never make the app itself responsible.
- C