> Thanks Sean. When you say "as of the current version", you mean 0.8.1 rather
> than the RC, right? I am using 0.8.1 and doing a hard refresh definitely
> doesn't clear the cache properly. In fact, the behaviour can get quite
> strange: repeated hard-refreshes can deliver any one of several revisions of
> the same page. I am guessing each refresh must pulling data from different
> dbs that haven't been sync'd. But that's just a guess; I've really no idea
> what's going on. :)
>
>   
I meant 0.8.x or later... things haven't changed with that in 0.9 RC1.  
Your problem sounds like it's with Heroku's caching layer.  Rack::Cache 
tries to stay to the HTTP RFC in that it allows browser-initiated 
refreshes to invalidate the cache (although this may be undesirable in 
some cases, e.g. DDoS).  Heroku likely has the "stale-while-invalid" 
option in their cache, too, which is why you might be seeing different 
versions randomly.
> Doing Radiant::Cache.clear in the heroku console definitely seems to help
> matters, though.
>
>   
Good to know!

Sean
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to