I am having some serious issues with caching :(
The latest problem that I have is the fragments are not being deleted.
Here is the haml code within the application.html.haml file that caches
the text just fine
- cache(:controller => "layout", :action => "header",
:id =>
@account.id) do
#header_links
...
Here is the code that was originally placed within a sweeper file, then
moved directly into the controller when trying ti figure out where the
issue was
expire_fragment(:controller => "layout", :action =>
"header", :id =>
@account_id)
Unfortunately, it doesn''t delete the cached data. I don''t
know if the
issue is due to the fact that I am using subdomains or not. The cached
data exists in
tmp/cache/some_subdomain.localhost.3000/layout/header/2.cache
Any help is appreciated.
Thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---