瀏覽代碼

Update the cache time description

See: https://twitter.com/seldaek/status/943843727164002304
Tobias van Beek 7 年之前
父節點
當前提交
9bc41c7ec6
共有 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 %}