Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How can I disable cache or set time constraint for cached data  RSS feed

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I modify jForum a little bit to show additional data for our internal need. However, the additional data will not be shown until I login as forum Admin and explicitly clear the cached data.

Is there a way for me to disable the cache feature or let me set a shorter time constraint for the cached data?

Please advise and thanks in advance!

Michael Wu
[originally posted on jforum.net by michaelwu]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It depends of what you changed. Topics? you can disable topic cache at SystemGlobals.properties.

Rafael
[originally posted on jforum.net by Rafael Steil]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Rafael Steil wrote:It depends of what you changed. Topics? you can disable topic cache at SystemGlobals.properties.

Rafael



I set the value of the topic.cache.enabled property to false and the result seems to work for me.

Thanks!
Michael Wu
[originally posted on jforum.net by michaelwu]
 
If I'd had more time, I would have written a shorter letter. -T.S. Eliot such a short, tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!