I have a couple of PHP Execution widgets on my pages. I currently have these widgets set to cache for 5 minutes but would like to increase it for performance reasons. If I have a query in my php widget, are the results of the query cached for the duration of this setting? So if I have a widget pulling forum threads with a cache life of 5 minutes, if a new thread is added at the same time the cache refreshed, will the new thread not show up until the next refresh?
Widget Cache Time Question
Collapse
X
-
Tags: None -
Any of the support or development staff have any thoughts? -
You are correct; the new thread will not show up until the next refresh. Just pulling a few thread titles (that is what I am assuming you are doing from your home page) should not make your forum take a performance hit though; try optimizing the query and code before you raise the cache time.Comment
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Comment