On Thu, Sep 12, 2019 at 2:13 PM Mikko Ohtamaa <[email protected]> wrote: > > >For static assets and such - they should not be served from WSGI in the first >place and you can nicely offload this to CloudFlare or similar automatically .
What if they're access-restricted to certain groups of users? I have my public assets served by Apache (via 'ProxyPass /staic !' and 'Alias /static /directory') but I serve private ones with 'FilerResponse'.It would be nice to serve them outside WSGI but nothing else knows about Pyramid's authorization. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAH9f%3DurUPMUdLXJg--f35gH0bBuP0SAr4wpr4AkLVQ%3DS%3D_2O8Q%40mail.gmail.com.
