PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Dove
New Member
New Member


Joined: Jun 29, 2004
Posts: 11
Location: USA

PostPosted: Thu Aug 11, 2005 1:22 pm Reply with quote Back to top

Hello Everyone!!

I recently helped someone with a phpbb forum update,
and noticed they include an option to cache the template
system (by 1 of 2 ways -> file or db).

Has anyone tried this?

What I did was take the phpbb 2.0.17 template_file_cache.php
(for file caching), add:
Code:
if (!defined('IN_PHPBB')) {
        die();
}

to the top of it. Rename it to template.php and put it in
my includes folder (replaced my original). Then the instructions said to make a cache folder in my forums directory (named cache & chmod 777). The download included a .htaccess & blank index.html file
to place in this cache directory also. Instead though, I used cpanel to
password protect this directory instead (which made it's own .htaccess).

Now when I click on a forum link or login Nuke's admin, and go
to forums, it caches my .tpl files, and they are for the correct theme
as well (there are .tpl files in the cache folder).

I'd really like to move the cache folder outside the public_html.

Is this justified? I really can't tell if it made or makes
an increase. Is this old news and everyone has been using it?

Thanks -
DoVe
View user's profile Send private message
64bitguy
The Mouse Is Extension Of Arm


Joined: Mar 06, 2004
Posts: 1140
Location: Manchester, NH USA

PostPosted: Thu Aug 11, 2005 9:38 pm Reply with quote Back to top

You need to leave the cache inside public_html as that is what is feeding to users. If it were outside the public_html, nobody would be able to see anything and it wouldn't work.

When you are on a high-speed connection, it is extremely hard to tell if there are performance increases; however, dialup users could tell you for sure. Smile
View user's profile Send private message Visit poster's website
Dove
New Member
New Member


Joined: Jun 29, 2004
Posts: 11
Location: USA

PostPosted: Sun Aug 14, 2005 1:32 pm Reply with quote Back to top

ok thanks
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum