Django Book 翻译
菜单>:
TOC
返回
原文:
A more efficient solution, however, would be to call ``ping_google()`` from a ``cron`` script or some other scheduled task. The function makes an HTTP request to Googles servers, so you may not want to introduce that network overhead each time you call ``save()`` .
翻译:
一个更有效的解决方案是用 ``cron`` 脚本或任务调度表来调用 ``ping_google()`` ,该方法使用Http直接请求Google服务器,从而减少每次调用 ``save()`` 时占用的网络带宽。
备注:
译者: