Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Edit: Notice that express sets view cache enabled for production: see <a href="http://expressjs.com/api.html" rel="nofollow noreferrer">express docs</a></p> <blockquote> <p>view cache Enables view template compilation caching, enabled in production by default </p> </blockquote> <p>Try adding this line in your app config section:</p> <pre><code>app.disable('view cache'); </code></pre> <p>Also, try adding cache-control headers</p> <pre><code>res.setHeader('Cache-Control', 'no-cache'); res.render('articles/show', { ... </code></pre> <p>From <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html" rel="nofollow noreferrer">w3.org</a> docs: </p> <blockquote> <p><strong>Cahce-Control</strong></p> <p>The Cache-Control general-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain. The directives specify behavior intended to prevent caches from adversely interfering with the request or response. These directives typically override the default caching algorithms. Cache directives are unidirectional in that the presence of a directive in a request does not imply that the same directive is to be given in the response.</p> </blockquote> <p>If you need a more advanced control, consider other fields like max-age, <a href="https://stackoverflow.com/questions/1046966/whats-the-difference-between-cache-control-max-age-0-and-no-cache">this question</a> is also a good resource, you'll see that different browsers may implement this rfc slightly different.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload