pnmod functions optimisation - vV1
Author: Mumuri
PostNuke Version: PostNuke Phoenix .760
Type:
Description:
In PostNuke, there is some configuration variables which are loaded from the database. This variables are only changed in the admin part. So i decided to create a plugin which stock all this data in files on your ftp, with this, you will avoid useless call to the database. You will save one or two requests to the database per page (perhaps more).
Affected functions :
pnModCallHooks, pnModGetVar,pnConfigGetVar etc
How to
First download this file,
Rename it to pnMod.php and replace the current pnMod.php in the includes/
Then, we have to generate the cache files. For the moment, i generate the cache file when i go to the admin section.
Edit the admin.php file
after
pnInit();
add this line
pnmod_writemodcache();
That's all, in order to see, if the file are generated, go to pnTemp/mod_Config/ , you should this somes files in this folder
.
Support Information:
For support, just register on my board, and add a reply to this post . (no support by privates messages)
You can speak in English
.
Change Log:
This module wil be useless for pn0.8 as this version already includes a similar cache system.
