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