Hello, I'm trying to use HTTP caching in my Rails 2.3.3 app, but the result is that my pages are always served from the cache even if there is a newer content.
I've created a simple Rails app with only one controller to illustrate my problem : 1/ Go here, and you'll see a list of 'items' : http://test-caching.heroku.com/ 2/ Create a new item : http://test-caching.heroku.com/items/new 3/ Go back to the list and you won't see the newly created item because the page is served from the cache : http://test-caching.heroku.com/ Here is a small screencast (8.8Mb) that shows the problem : http://dl.getdropbox.com/u/40466/tmp/heroku-caching.mov Here is the code of the app hosted on Github : http://github.com/suitmymind/heroku-caching/tree/master And the 'caching' code can be found here (lines 8 and 10) : http://github.com/suitmymind/heroku-caching/blob/c7a76c40feda96b357f1d3ef4b09e4f7586add3a/app/controllers/items_controller.rb#L8 Any idea? What am I doing wrong? Thanks a lot for your suggestions. Best, Thomas. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
