Hi Dennis,

Apologies, you are correct. Handlers are not needed in the flexible 
environment 
<https://cloud.google.com/appengine/docs/flexible/nodejs/serving-static-files> 
only in standard.


On Sunday, July 15, 2018 at 6:50:37 AM UTC-4, Dennis Yurkevich wrote:
>
> Hello Yasser,
>
> Today I am serving static files using Express and without having specified 
> the handlers in app.yaml.
>
>
>
> On Sat, Jul 14, 2018 at 12:31 AM, 'Yasser Karout (Cloud Platform Support)' 
> via Google App Engine <[email protected]> wrote:
>
>> Just for clarity, to serve static files using express.static(), you still 
>> need to specify the static URL handlers in your app.yaml file. So the first 
>> and second method you listed are the same method.
>>
>>
>> On Wednesday, July 11, 2018 at 4:55:57 AM UTC-4, Dennis Yurkevich wrote:
>>>
>>> Hello All,
>>>
>>> When using the various static file hosting options on GAE Nodejs Flex 
>>> Environment, I see the below three as the main options:
>>> 1. have the app serve on a route e.g app.use(express.static())
>>> 2. use the app.yaml config
>>> 3. use google bucket / cdn
>>>
>>> My first question is which should be most performant? I am serving a 
>>> 400kb SPA bundle.
>>>
>>> Second, I need some flexibility which I am using the routing for, such 
>>> as deciding which bundle to serve based on geo, reading the cookie header 
>>> and logging. Would these things be possible with option 2 & 3?
>>>
>>> My final question, is that the app.yaml option is this just using nginx 
>>> to serve behind the scenes?
>>>
>>> Thanks,
>>> Dennis
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/google-appengine.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-appengine/0465fce3-fd28-447b-a371-43898c49130d%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-appengine/0465fce3-fd28-447b-a371-43898c49130d%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/663f9c80-82e1-4da1-836a-533bf993c4f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • [google-app... 'Dennis Yurkevich' via Google App Engine
    • [googl... 'Kenworth (Google Cloud Platform)' via Google App Engine
    • [googl... 'Yasser Karout (Cloud Platform Support)' via Google App Engine
      • Re... 'Dennis Yurkevich' via Google App Engine
        • ... 'Yasser Karout (Cloud Platform Support)' via Google App Engine

Reply via email to