EllisLab text mark
Advanced Search
     
Fresh Variables Performance
Posted: 26 August 2008 06:03 AM
Avatar
Joined: 2008-03-07
113 posts

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

 
Posted: 26 August 2008 08:28 AM   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2002-04-29
26055 posts

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.

 
Posted: 26 August 2008 02:07 PM   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2002-04-29
26055 posts

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?

 
Posted: 27 August 2008 05:26 AM   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2008-03-07
113 posts

Thanks Sue that’s brilliant!

 
Posted: 27 August 2008 05:42 AM   [ # 4 ]   [ Rating: 0 ]
Avatar
Joined: 2004-05-15
29075 posts

Glad to see that helped smile