Page 1 of 2

block cache settings

PostPosted: Thu Oct 14, 2010 3:46 pm
Author: viragotech
I am probably mis configin something again but are there cache settings for block?

I don't see the check box in the block settings like in 141.

recent topics block on the left does not refresh right, though center does.

Re: block cache settings

PostPosted: Thu Oct 14, 2010 4:59 pm
Author: viragotech
It does how ever updated, but its like 5-10 mins behind. you know ya made a new post and it don't appear in that block for a bit.

but new post link, n center recent topics block works right away.

Re: block cache settings

PostPosted: Sat Oct 16, 2010 10:33 am
Author: viragotech
You can see what I mean here, Just woke up, log into the site and click new post link at the top.

only 1 of the two new post show in the recent topics block on the left.

It acts very strange at times, on when it will show new post.
yet the center block recent topics on the portal page works fine.


http://xvnetwork.com/newpost2.jpg

Re: block cache settings

PostPosted: Sun Oct 17, 2010 10:19 pm
Author: viragotech
Really like to get this one nailed down, but dunno what to play with.

Re: block cache settings

PostPosted: Mon Oct 18, 2010 6:16 am
Author: Michaelo
I believe this is sorted... Working on an update for everyone... will post soon...
Mike

Re: block cache settings

PostPosted: Mon Oct 18, 2010 10:23 am
Author: viragotech
"Michaelo" wrote:I believe this is sorted... Working on an update for everyone... will post soon...
Mike


Thanks I appreciate it, I just know that one small probably very minor bump in the grand scheme of the master road will just have more of my users asking questions, then any of the other bumps in the road I have come across in IM3/SGP.

Eager to go live with IM3/SGP as of now, 141 works but its blowing up the new VPS server daily still with just a few folks on. IM3/SGP doesn’t use any power. The test site is actually on the server the 141 forum got kicked off of by the host for CPU abuse.

Re: block cache settings

PostPosted: Mon Oct 18, 2010 3:11 pm
Author: Michaelo
We are working on updating but in the mean time check blocks/block_recent_topics.php for this line and edit it...
Code: Select all
if (!$result = $db->sql_query($sql, 300))
Change the 300 to 30 (30 seconds)...

If you receive and errors after you purge the cache, you may need to be reduce two other cache setting to the same value as the one you set for the first edit... There are both set to 300 ...
Code: Select all
if (!$my_result = $db->sql_query($sql2, 300)) and if( $result = $db->sql_query($sql, 300) )

Mike

Re: block cache settings

PostPosted: Mon Oct 18, 2010 4:42 pm
Author: viragotech
Did just the first one, no erros but no change.

changed the other two, still no change.

well beyond 30sec, several min, around 20 by now and still not there.[slow typer]

Course it could just be our forum, its always been quirky.

But I can't nail down any pattern, a new post you just made wont show for over 20 mins, make a new post in a different section, it shows right away, post from 20 mins ago still is not showing, post again in the thread that showed right away, and now it won't show, and that 20+ min old post shows up.

Its wacky

I can PM ya the info if you want to come play with it and see it in action.

Re: block cache settings

PostPosted: Tue Oct 19, 2010 12:22 am
Author: viragotech
Course the center recent topics block on the portal/home page isn't perfect. It may show all new topics right, but it has no sort order. By section, poster or date, almost random like. but they are all there.

One easy option may be to get that block to display on the index page also and drop the left side recent topics block.

http://xvnetwork.com/rtc.jpg

Re: block cache settings

PostPosted: Tue Oct 19, 2010 11:15 am
Author: Michaelo
Almost all blocks have been updated... these will be available soon...
I will check with Helter to see if he has got around to testing the new code...
Mike

Re: block cache settings

PostPosted: Tue Oct 19, 2010 2:11 pm
Author: Helter
new code works great, though I have not tested any caching functions. Im just updating the templates to reflect the new js folder location. After that Ill do a few more test installs.

Re: block cache settings

PostPosted: Tue Oct 19, 2010 4:33 pm
Author: Michaelo
Caching should be 100%...
Perhaps we could get some test volunteers?

Re: block cache settings

PostPosted: Tue Oct 19, 2010 5:34 pm
Author: viragotech
code changes or a complete new install to get the new blocks???

Re: block cache settings

PostPosted: Wed Oct 20, 2010 9:05 am
Author: Helter
mike is working on an upgrade from your version, but since you have not gone live yet and still have to do a 141 import, your easiest solution will be a fresh install.

Re: block cache settings

PostPosted: Wed Oct 20, 2010 9:45 am
Author: viragotech
"HelterSkelter" wrote:mike is working on an upgrade from your version, but since you have not gone live yet and still have to do a 141 import, your easiest solution will be a fresh install.


Well let me know when or where to download this new version and will do a fresh test upgrade.