瀏覽代碼

Merge pull request #848 from tvbeek/patch-1

Update the cache time description
Jordi Boggiano 7 年之前
父節點
當前提交
e3bb4f0076
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/Packagist/WebBundle/Resources/views/ApiDoc/index.html.twig

+ 2 - 2
src/Packagist/WebBundle/Resources/views/ApiDoc/index.html.twig

@@ -178,7 +178,7 @@ GET https://{{ packagist_host }}/p/[vendor]/[package].json
 
 <h4 id="get-package-by-name">Using the API</h4>
 
-<p>The JSON API for packages gives you all the infos we have including downloads, dependents count, github info, etc. However it is generated dynamically so for performance reason we cache the responses for one hour. As such if the static file endpoint described above is enough please use it instead.</p>
+<p>The JSON API for packages gives you all the infos we have including downloads, dependents count, github info, etc. However it is generated dynamically so for performance reason we cache the responses for twelve hours. As such if the static file endpoint described above is enough please use it instead.</p>
 
 <pre>
 GET https://{{ packagist_host }}/packages/[vendor]/[package].json
@@ -206,4 +206,4 @@ GET https://{{ packagist_host }}/packages/[vendor]/[package].json
 </section>
 
 
-{% endblock %}
+{% endblock %}