PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Sep 18, 2004 1:24 pm Reply with quote Back to top

I tried Cache-Lite a while back and had some anomalies occur. Pages would cache ok for a while and then parts of the page just disappeared Confused Anyway, if you use either of these, successfully, I'd like you to share your experiences and findings. Thanks!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Sat Sep 18, 2004 2:14 pm Reply with quote Back to top

I've been using jpcache like this in index.php if someones put a better method in place it would sure be interesting to hear from them.
if(!eregi("admin.php",$_SERVER['PHP_SELF']) AND !is_admin($admin)) {
if (!isset($user)) {
$cachetimeout=900;
} else {
$cachetimeout=-1;
}
require_once("includes/jpcache/jpcache.php");
}

And then using cache-lite in block files pretty much as outlined in the nukebook. I did have to edit some blocks (make 2 out of 1) to prevent caching of things like date/time login forms ect.. seemed the easiest route.
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Sat Sep 18, 2004 2:16 pm Reply with quote Back to top

lol I'm guessing you have some cache on now because my post won't let me edit index.html to what it should be index.php lol

edit* Guess not must be GT walking on it.


Last edited by sixonetonoffun on Sat Sep 18, 2004 3:50 pm; edited 2 times in total
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sat Sep 18, 2004 2:28 pm Reply with quote Back to top

Try it now. That wasn't supposed to happen!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Sun Sep 19, 2004 8:19 am Reply with quote Back to top

I did notice that one of the NSN affiliates (France??) was working on a admin module for jpcache but I haven't gone visiting to see what stage of development its at currently.

This could make it much more appealing to the general public then hacking it in. I think one of the missing features that is needed for wide use is a function to clear the cache. Course its no big deal to ftp the site and clear it out but there are things not mentioned in the nukebook install guide that need to be added like using a htaccess file with a deny from all statement to prevent casual browsing of the cache when its not able to be placed above webroot.
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Sun Sep 19, 2004 9:58 am Reply with quote Back to top

I'm still reading up that and other caching techniques. I would appreciate a compilation of any other idiosyncrasies that you might have discovered. Thanks!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Mon Oct 11, 2004 10:07 pm Reply with quote Back to top

sixonetonoffun wrote:
I did notice that one of the NSN affiliates (France??) was working on a admin module for jpcache but I haven't gone visiting to see what stage of development its at currently.

This could make it much more appealing to the general public then hacking it in. I think one of the missing features that is needed for wide use is a function to clear the cache. Course its no big deal to ftp the site and clear it out but there are things not mentioned in the nukebook install guide that need to be added like using a htaccess file with a deny from all statement to prevent casual browsing of the cache when its not able to be placed above webroot.
To delete a specific cache file use
$cache->remove('cache-file-name','group-name-of-the-file');

To delete all cache files use
$cache->clean('Static');
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
stoney
New Member
New Member


Joined: Oct 10, 2005
Posts: 20

PostPosted: Fri Oct 14, 2005 8:51 pm Reply with quote Back to top

So guys.. what was the outcome of this post? I am curious about cacheing but don't really know where to start. Not sure if I will be able to install Pear on my site since i get space at a hosting company.. Which would be the best to use?
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Oct 14, 2005 9:02 pm Reply with quote Back to top

I not only use Cache Lite, but have written a CacheLite Admin module.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
stoney
New Member
New Member


Joined: Oct 10, 2005
Posts: 20

PostPosted: Fri Oct 14, 2005 9:05 pm Reply with quote Back to top

I had seen that. I am not sure if pear is installed on the place i get space from hostforweb. if I read right that is required isnt it?
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Oct 14, 2005 10:11 pm Reply with quote Back to top

Yes. You can install it yourself too. See this for instructions
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
stoney
New Member
New Member


Joined: Oct 10, 2005
Posts: 20

PostPosted: Sat Oct 15, 2005 9:41 am Reply with quote Back to top

well i installed the cache_lite, installed the module. I cant for the life of me figure out that ftp install instructions for pear. I took the chance that maybee it was already installed but it doesnt apear to be cacheing anything. The admin module isnt updateing. I imagine it is because I didnt install pear but call me stupid... but I cant understand what the hell it says to do. Can you simplify this for me?
View user's profile Send private message Visit poster's website
stoney
New Member
New Member


Joined: Oct 10, 2005
Posts: 20

PostPosted: Sat Oct 15, 2005 10:12 am Reply with quote Back to top

ahh friggin safe mode moved the cache dir to sub dir of includes cache lite and it seems to be cacheing now
View user's profile Send private message Visit poster's website
stoney
New Member
New Member


Joined: Oct 10, 2005
Posts: 20

PostPosted: Sat Oct 15, 2005 10:27 am Reply with quote Back to top

One other thing i just noticed. It appears to be making multiple entries in the table.

block-Advanced_Downloads.php
cacheDir => includes/Cache_Lite/cache/
cache => 1
cacheDir => includes/Cache_Lite/cache/
cache => 1
lifeTime => 300
cache => 1
cacheDir => includes/Cache_Lite/cache/
cache => 1
lifeTime => 300
cache => 1
cacheDir => includes/Cache_Lite/cache/
cache => 1
lifeTime => 300
cache => 1
cacheDir => includes/Cache_Lite/cache/
cache => 1
lifeTime => 300

any idea what is causeing this. I am using 7.8 with patch and sentinel
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

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-2011 by Raven

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 Modified by the RavenNuke™ Team ::

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

zerosum