Fresh Variables Performance
Posted: 26 August 2008 04:03 AM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  119
Joined  03-07-2008

This question may be related to a resolved thread.

Can anyone tell me how good or bad the Fresh Variables module performs? Does it strain the database?

Also is it possible to cache them?

Michael

Profile
 
 
Posted: 26 August 2008 06:28 AM   [ Ignore ]   [ # 1 ]  
Chancellor's Fellow
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  30387
Joined  04-29-2002

Michael, I don’t have any bench marks for how good/bad Fresh Variables performs.

What I can say is that it is ideal for working in a MSM where you don’t want to maintain two different Global Variable settings.

As far as caching goes, I’ll see what I can find out.

Profile
MSG
 
 
Posted: 26 August 2008 12:07 PM   [ Ignore ]   [ # 2 ]  
Chancellor's Fellow
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  30387
Joined  04-29-2002

When you’re using Fresh Variables, it is a single extra query (extra only if you have extensions turned off otherwise, if you have them on then this is a normal query).

It is only a single query as the variables are stored in the extension settings.  As far as performance, it is the same as path.php global variables: just some string replacements.

In other words, it shouldn’t be a drain on the system.

Did that answer your question?

Profile
MSG
 
 
Posted: 27 August 2008 03:26 AM   [ Ignore ]   [ # 3 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  119
Joined  03-07-2008

Thanks Sue that’s brilliant!

Profile
 
 
Posted: 27 August 2008 03:42 AM   [ Ignore ]   [ # 4 ]  
Chancellor's Fellow
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  33338
Joined  05-15-2004

Glad to see that helped smile

Profile
MSG