[Radiant] Cache problems

John W. Long ng at johnwlong.com
Fri Jul 28 08:11:57 CDT 2006


bodhi wrote:
> Does anyone know if the cache is unicode safe? I have a page with 
> japanese text that, when not cached, works fine, but then when the page 
> is loaded from the cache, crashes in:
> 
> /opt/local/lib/ruby/1.8/yaml.rb:133:in `load'
> /opt/local/lib/ruby/1.8/yaml.rb:133:in `load'
> #{RAILS_ROOT}/app/models/response_cache.rb:97:in `read_response'
> ...
> 
> Then if the page is reloaded again, it doesn't crash but the cached 
> response is incomplete: the text is truncated, and the page footer 
> isn't included...

The cache is quite simple. It uses yaml to do the loading and unloading. 
Perhaps there is a problem with the way I am using the yaml library. 
Please do investigate.

--
John Long
http://wiseheartdesign.com



More information about the Radiant mailing list