config.cache_classes = true in production mode has problems in IE
Posted
by techno_log
on Stack Overflow
See other posts from Stack Overflow
or by techno_log
Published on 2010-05-21T06:07:34Z
Indexed on
2010/05/21
6:10 UTC
Read the original article
Hit count: 221
Hi Dears,
In my rails app. I am using link_to_function to bring an ajax tabs in one page.Everything works fine in Moazilla and other browsers. But in IE the tabs are not loading only when the server is started in production mode(doesn't matter whether its webrick or mongrel). In development mode everything is fine. So I figured out that the issue was with one line
config.cache_classes = true
in app/config/environments/production.rb
when i changed the above code to
config.cache_classes = false
everything works fine. So I assume caching causes problem in rails. When I Googled about this I found many have the issues with caching. So my question is
1) is there any other fix for this?
2) Does this fix (config.cache_classes = false
) causes any performance issues. If then how to overcome that?
Any comments and suggestions are welcome.
Techno_log
© Stack Overflow or respective owner