gpt4 book ai didi

firebase - Firebase 函数可以通过查询字符串参数进行缓存吗? #askfirebase

转载 作者:行者123 更新时间:2023-12-01 22:09:52 25 4
gpt4 key购买 nike

我正在测试将事件发送到 Http 触发器函数的服务,事件类型在查询字符串中

eventType=answer

eventType=incomingcall

是否可以选择只缓存“incomingcall”事件类型而不缓存“answer”事件类型?

firebase hosting documentation 中未提及任何内容但在 Goggle cloud functions documentation有查询字符串白名单和黑名单的选项

最佳答案

与 Firebase 托管集成的 Cloud Functions 将不同的查询参数视为完全不同的 URL,以便进行缓存。所以是的,它们将被单独缓存,并且可以在它们上设置不同的 Cache-Control header 。

关于firebase - Firebase 函数可以通过查询字符串参数进行缓存吗? #askfirebase,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48697236/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com