WURFL 的新 API 问题

发布于 2024-08-07 04:51:42 字数 156 浏览 4 评论 0原文

我有一个简单愚蠢的问题。问题是,多年来,我的公司一直在使用旧的 WURFL PHP API。现在,随着新的 WURFL PHP API 的发布,它有望提供更好的性能,我们希望使用它。

我想问的是,如何更新缓存?我可以使用旧的 update_cache.php 吗?

I have a simple stupid question. Here's the problem, for years, my company has been using the old WURFL PHP API. Now, with the release of the new WURFL PHP API that promises a better performance, we want to use it.

What I want to ask is, how do I update the cache? Can I use the old update_cache.php?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

晌融 2024-08-14 04:51:42

经过几天的寻找答案后,结果发现我无法使用旧的 update_cache.php,因为它与新的 API 不兼容。
新 API 在看到 wurfl.xml 更改/更新时具有自动刷新机制。

After several day searching for answer, it turns out that I can't use the old update_cache.php as it's incompatible to the NEW API.
The new API have the auto refresh mechanism when it see the wurfl.xml is changed/updated.

花期渐远 2024-08-14 04:51:42

如果您关心性能,您应该查看Tera-WURFL,它是基于新的WURFL API并使用MySQL提供极高的设备检测性能。

If you're concerned about performance, you should look at Tera-WURFL, it was built on the new WURFL API and uses MySQL to provide extremely high device detection performance.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文