Bläddra i källkod

Update the cache time description

See: https://twitter.com/seldaek/status/943843727164002304
Tobias van Beek 7 år sedan
förälder
incheckning
9bc41c7ec6
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 %}