On Tue, Apr 5, 2011 at 4:02 PM, Van Rogers-Ho <[email protected]> wrote: > One other detail I can add: I can also fix issue if I go to main blog that > serves as the front page and flush that cache. > > Go to that blog> Preferences tab> Maintenance> Flush Cache button.
I think that is expected behavior, the pages are not immediately updated when an aggregation completes. You have to wait for normal time out. - Dave > On Tue, Apr 5, 2011 at 3:56 PM, Van Rogers-Ho <[email protected]> wrote: > >> Hi, >> >> I'm seeing something odd where the home/front page recent posts are not >> reflecting new entries unless you are logged in. Some observations: >> >> >> 1. The new entry is in an existing blog. >> 2. I can see it OK under /planetrss *without* logging in. >> 3. clearing local cache *does not* fix it >> 4. Doing a site wide clearing of cache (server admin>Cache info> >> cache.sitewide) *does* fix this and all users can see it. >> >> There is a job that runs every 6 hours, >> tasks.SyncWebsitesTask.interval=360. Is this what I would change to get >> quicker visibility of new posts? It seems odd that a logged in user and >> /planetrss are OK. >> Also, ROLLER.RAG_ENTRY does have the new entry. >> >> Essentially, new entry is in ROLLER.RAG_ENTRY, /planetrss and on front page >> (logged in). However, it takes a site wide cache flush to have guest see it. >> >> Thanks, >> Van >> >> >> *Enviroment:* >> >> I'm running 4.01, WLS 11g, Oracle DB >> The front page is standard: >> >> ## get pager over recent posts, uses planet aggregator >> #set($pager = $planet.getAggregationPager(14, $recentPosts)) >> ... >> #foreach($entry in $pager.items) >> <div class="entry"> >> <h3><a >> href="$utils.escapeHTML($entry.permalink)">$utils.truncateNicely($utils.removeHTML($entry.title), >> 50, 50, "...")</a></h3> >> <p class="entryDetails"> >> <a href="$utils.escapeHTML($entry.website.URL)">$utils.removeHTML($ >> entry.website.name)</a> >> #if($entry.category.name)| $entry.category.name #end >> #if($entry.pubTime) | $utils.formatDate($entry.pubTime, "MMMM dd, >> hh:mm a zzz") #end >> #if($entry.creator.userName)| By $entry.creator.userName #end >> <br/> >> </p> >> <p class="entryDescription"> >> $utils.truncateNicely($utils.removeHTML($entry.text), 240, 260, >> "...") >> </p> >> </div> >> #end >> >> In roller-custom.properties: >> # enable planet tasks >> >> tasks.enabled=ScheduledEntriesTask,ResetHitCountsTask,TurnoverReferersTask,\ >> PingQueueTask,RefreshRollerPlanetTask,SyncWebsitesTask >> >> # config refresh entries task to run every 20 minutes >> tasks.RefreshRollerPlanetTask.startTime=immediate >> tasks.RefreshRollerPlanetTask.interval=20 >> tasks.RefreshRollerPlanetTask.leaseTime=30 >> >> # sync weblogs to aggregator 4 times daily >> tasks.SyncWebsitesTask.startTime=immediate >> tasks.SyncWebsitesTask.interval=360 >> tasks.SyncWebsitesTask.leaseTime=30 >> >> >> >
