Bläddra i källkod

Merge pull request #848 from tvbeek/patch-1

Update the cache time description
Jordi Boggiano 7 år sedan
förälder
incheckning
e3bb4f0076
1 ändrade filer med 2 tillägg och 2 borttagningar
  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 %}