Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 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 12:58 Go to next message
Jim Tremlett is currently offline Jim Tremlett
Messages: 3
Registered: July 2009
Junior Member
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 16:00 Go to previous message
Onno van der Straaten is currently offline Onno van der Straaten
Messages: 28
Registered: July 2009
Junior Member
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: Mon Oct 20 04:37:26 GMT 2014

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

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