title: How to find in flask application if the content is from cache
body: <p>I have a flask application and set the cache timeout to 150 seconds. Is there a flag or an option to differentiate if the content is fresh or from cache</p>
  <pre><code>@app.route(&quot;/info&quot;)
  @cache.cached(timeout=150)
  def infopage():
      rows = fetch_data()
      return render_template(&quot;info.tmpl&quot;, rows=rows)
  </code></pre>