tag:rubydoc.tenderapp.com,2010-12-26:/discussions/problems/197-eternal-refresh-of-the-abbrev-mindRubydoc.info: Discussion 2018-10-19T03:09:09Ztag:rubydoc.tenderapp.com,2010-12-26:Comment/289534582013-09-22T17:26:51Z2013-09-22T17:26:52Zeternal refresh of the abbrev mind<div><p>It seems some pages with as-yet-not-generated docs are
refreshing constantly; example: <a href=
"http://rubydoc.info/stdlib/abbrev/frames">http://rubydoc.info/stdlib/abbrev/frames</a>
(tested in Chromium 28 and Firefox 24).</p></div>tag:rubydoc.tenderapp.com,2010-12-26:Comment/289534582013-09-22T19:30:36Z2013-09-22T19:30:36Zeternal refresh of the abbrev mind<div><p>It looks like this is caused by a rogue cached object in our
Varnish servers. The first request responds with "200 yea this has
been generated", but then you refresh and the 200 page was actually
the refresh not loaded page. You can trick varnish by hitting
/frames/index, at which point it realizes, oh wait, I should cache
this actual URL instead.</p>
<p>I'm not exactly sure why those processing pages are getting into
the cache. I will have to look into this. In the meantime, the URL
you provided should work now (you may have to force refresh / drop
your local browser cache). Do you have any other URLs?</p></div>lsegaltag:rubydoc.tenderapp.com,2010-12-26:Comment/289534582013-09-22T20:06:29Z2013-09-22T20:06:29Zeternal refresh of the abbrev mind<div><p>Thanks, it does work!</p>
<p>I wonder whether I could’ve triggered this by opening
stdlib pages en-masse in subsequent tabs? Some other URLs with this
behaviour:</p>
<p><a href=
"http://rubydoc.info/stdlib/benchmark/frames">http://rubydoc.info/stdlib/benchmark/frames</a><br>
<a href=
"http://rubydoc.info/stdlib/bigdecimal/frames">http://rubydoc.info/stdlib/bigdecimal/frames</a><br>
<a href=
"http://rubydoc.info/stdlib/cgi/frames">http://rubydoc.info/stdlib/cgi/frames</a><br>
<a href=
"http://rubydoc.info/stdlib/cgi-lib/frames">http://rubydoc.info/stdlib/cgi-lib/frames</a><br>
<a href=
"http://rubydoc.info/stdlib/cmath/frames">http://rubydoc.info/stdlib/cmath/frames</a><br>
<a href=
"http://rubydoc.info/stdlib/complex/frames">http://rubydoc.info/stdlib/complex/frames</a><br>
<a href=
"http://rubydoc.info/stdlib/continuation/frames">http://rubydoc.info/stdlib/continuation/frames</a></p>
<p>etc. – I went to <a href=
"http://rubydoc.info/stdlib">http://rubydoc.info/stdlib</a> and
tab-opened them all at the same time.</p>
<p>I confirm that adding /index does fix them on a case-by-case
basis.</p></div>Piotr Szotkowski