Skip to main content



      Home
Home » Archived » EPF » EPF Wiki standard text changes / cache(How to adjust publishing behavior of changes to EPF Wiki standard text. )
EPF Wiki standard text changes / cache [message #724896] Tue, 13 September 2011 08:58 Go to next message
Eclipse UserFriend
I have made changes to the standard text in our EPF Wiki installation. Some of the changes have made it out to the Wiki site; others have not. The editing page for the standard text indicates that caching may impact the publication behavior.

I would like to be able to modify the caching / publication behavior to be more predictable and immediate.

Does anyone have any suggestions?

- Jim
Re: EPF Wiki standard text changes / cache [message #724972 is a reply to message #724896] Tue, 13 September 2011 12:00 Go to previous message
Eclipse UserFriend
Hi Jim,

There is a line
@admin_message.update_attributes(params[:admin_message])


in method adminmessage in file app/controllers/users_controller.rb

if you put the a call to expire_all_pages after that line and restart the webserver, then all pages will expire after you update a standard text.
expire_all_pages


Should do the trick but I haven't tested it.

Onno


Previous Topic:EPF Wiki Search
Next Topic:New Version Does Not Publish All Pages
Goto Forum:
  


Current Time: Tue Jun 24 18:34:36 EDT 2025

Powered by FUDForum. Page generated in 0.07473 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top