Actually It didn’t worked.
• Access-Control-Allow-Credentials:true
• Access-Control-Allow-Headers:Access-Control-Allow-Origin,
Access-Control-Allow-Methods, Access-Control-Allow-Credentials….. many more
• Access-Control-Allow-Methods:*
• Access-Control-Allow-Origin:https://local.continu.co
• Access-Control-Expose-Headers:api-version, content-length,
content-md5, content-type, date, request-id, response-time
• Access-Control-Max-Age:1800
• Connection:keep-alive
• Date:Thu, 11 Jun 2015 17:59:41 GMT
• Request-Id:a245fa90-1063-11e5-908a-fd4c0038851a
• Response-Time:1
• Server:nginx/1.1.19
It still does not cache pre-flights OPTIONS
Franky Diaz-Trepat
Full Stack Engineer
+1 (720) 295-0592 / 401-1276
skype: franky.diaz.trepat
[email protected]
> On Jun 11, 2015, at 10:27 AM, Franky Diaz-Trepat <[email protected]> wrote:
>
> Hi Sander, thanks for that, I'll add that right away.
>
> I would still love to remove pre-flight all together.
>
> Thank you so much again,
> Franky
>
>
> On Thu, Jun 11, 2015 at 10:01 AM, Sander Elias <[email protected]
> <mailto:[email protected]>> wrote:
> Hi,
>
> It is possible to cache preflight requests. You need to set an header (on
> your server). iirc the header is Access-Control-Max-Age
>
> Regards
> Sander
>
>
> --
> You received this message because you are subscribed to a topic in the Google
> Groups "AngularJS" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/angular/8krFnmC_Svs/unsubscribe
> <https://groups.google.com/d/topic/angular/8krFnmC_Svs/unsubscribe>.
> To unsubscribe from this group and all its topics, send an email to
> [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/angular
> <http://groups.google.com/group/angular>.
> For more options, visit https://groups.google.com/d/optout
> <https://groups.google.com/d/optout>.
>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" 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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.