Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

Announcement

Security releases! FluxBB 1.5.3 and FluxBB 1.4.10 released - please update your forums!

#1 2012-03-05 08:32:14

Newman
Member
Registered: 2011-11-05
Posts: 343

caching the forums

was thinking would it be possible cache the forums on the index? then join the data to the correspondent array's from the cached file with all the forum data in? would save some queries and increase page speed what you think ?

I was thinking of doing it, but Iuno how to left join the multi demi array with the sql data from the forums table, if it was cached

Last edited by Newman (2012-03-05 08:32:40)

Offline

#2 2012-03-05 09:10:06

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 4,999
Website

Re: caching the forums

Good thinking.

I don't remember where, but I know that we already have this planned for 2.0. Great, huh? smile


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#3 2012-03-05 09:24:46

Newman
Member
Registered: 2011-11-05
Posts: 343

Re: caching the forums

Franz wrote:

Good thinking.

I don't remember where, but I know that we already have this planned for 2.0. Great, huh? smile

lol well, the more I code and work with fluxbb the more ideas I get, but this something that is probably I could do, but i'd rather leave it to professionals like you guys ^_^ or it would take me years, i hate multi demi arrays and foreaches @_@

But  I hope you guys don't ruin 2.0 and make it bulky like how invision power board ruined ipb 1.3, with 2.0+.... Please make sure 2.0 is even more lightweight then 1.4, trust me speed > features big_smile

keep it up good work !

I mean look at ipb 3.2... pure bloated software, my GAS-ex pills wont even help me load those pages haha

Last edited by Newman (2012-03-05 09:25:54)

Offline

#4 2012-03-05 12:30:12

Reines
Lead developer
From: Scotland
Registered: 2008-05-11
Posts: 3,188
Website

Re: caching the forums

I had been hoping we can cache much more in 2.0, but it is going to be a low priority for now. There is a ticket for it aimed at 2.0-beta1.

Offline

#5 2012-03-05 12:38:45

Newman
Member
Registered: 2011-11-05
Posts: 343

Re: caching the forums

sounds good

to bad i edited way to much in 1.4, would be pointless for me to go to 2.0 i'll most likely just use new code and implement it yikes

im still supporting you guys though

Last edited by Newman (2012-03-05 12:39:07)

Offline

#6 2012-03-05 12:45:24

Reines
Lead developer
From: Scotland
Registered: 2008-05-11
Posts: 3,188
Website

Re: caching the forums

The advantage of doing this in 2.0 is we have a much more advanced cache layer. In 1.x caching is done using files - which, unless you have some kind of PHP accelerator installed (which you should!), means accessing the disk to load cache. With 2.0 you can choose from pretty much any PHP cache engine (including files like in 1.x). Most keep cache in memory and hence it is much faster to access.

Offline

Board footer

Powered by FluxBB 1.5.3