I made the example in railscasts 117 
http://railscasts.com/episodes/117-semi-static-pages
for clean urls and static pages and it worked fine.

After that I wanted to do a simple page cache with pages_cache and
expire_page (as in railscasts 89 
http://railscasts.com/episodes/89-page-caching).
The page_cache works fine and it creates the pages in public folder,
but the expire_page doesn't work for the permalink, it works
for /:action/:id url, so I can't update the pages. I am thinking of
doing it manually (delete the html file with plain ruby when a page is
updated, instead of expire_page) or to make a button to enable/disable
the cache... or is there a better way instead of this to make the
expire_page work?

--

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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to