Irritating recurring black popup - some news about it?

Antonio Terceiro terceiro at colivre.coop.br
Wed Sep 18 14:38:04 BRT 2013


On Wed, Sep 18, 2013 at 02:13:19PM -0300, Bráulio Bhavamitra wrote:
> Hum, the solution is to never cache a page that have the <div id="notice">,
> but analysing page content is not wise.
> So the radical solution is not cache any logged in content.
> 
> This problem is also happening on development, as browser caching is also
> happening there.
> So the problem cannot only be implemented at varnish level, as explained at
> https://www.varnish-cache.org/trac/wiki/VCLExampleHitMissHeader
> 
> The before_filter at
> http://stackoverflow.com/questions/711418/how-to-prevent-browser-page-caching-in-rails
> is
> then the solution. It needs a condition to run only when logged. Then (i
> supposed, haven't tested yet) varnish/browser would ignore caching.
> 
> Is that so?

I don't know - you will need test.

-- 
Antonio Terceiro <terceiro at colivre.coop.br>
Colivre - Cooperativa de Tecnologias Livres
http://www.colivre.coop.br/


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20130918/43fbc148/attachment-0001.pgp>


More information about the Noosfero-dev mailing list