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
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4553
Location: Poland

PostPosted: Thu Nov 11, 2004 6:43 am Reply with quote Back to top

OK, So I guess the idea of this script is to cache blocks so the overall page load time is decreased.

Would it be possible to perhaps extend this caching feature to a folder?
I'm thinking of the benefits that might be gained from caching the /images folder in particular.
View user's profile Send private message Send e-mail Visit poster's website
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2363

PostPosted: Thu Nov 11, 2004 7:01 am Reply with quote Back to top

Images aren't good candidates for caching since they are static and already compressed there isn't much more we can do for them in this way.
View user's profile Send private message
sharlein
Member Emeritus


Joined: Nov 19, 2002
Posts: 321
Location: On the Road

PostPosted: Thu Nov 11, 2004 9:03 am Reply with quote Back to top

Everything went smoothly and I put one of my blocks (with the changed require line) back into the cache. Very nice job, thank you. First, a comment - I received an sql error because the table already existed. I fixed that by deleting the table Bang Head Secondly, how is the time measured? 3600 = 1 hour? Thanks again. Steve
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4553
Location: Poland

PostPosted: Thu Nov 11, 2004 12:12 pm Reply with quote Back to top

Thanks for the comment six.
It is rather a shame because my own site uses some pretty heavy graphics in articles etc. Perhaps the time is right for me to revisit those graphics and look to where load times might be saved by further reducing the file size.

This thread has certainly given me food for thought and I'll definitely try out the cache mod - thanks!
View user's profile Send private message Send e-mail Visit poster's website
Raven
Site Admin/Owner


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

PostPosted: Thu Nov 11, 2004 12:30 pm Reply with quote Back to top

sharlein wrote:
Everything went smoothly and I put one of my blocks (with the changed require line) back into the cache. Very nice job, thank you. First, a comment - I received an sql error because the table already existed. I fixed that by deleting the table Bang Head Secondly, how is the time measured? 3600 = 1 hour? Thanks again. Steve
You didn't need to replace the SQL. You erased your settings that way. I'll make sure to clarify that in the next release.

Yes, the time is in seconds. Thanks for the feedback!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Mandala
New Member
New Member


Joined: Jun 01, 2004
Posts: 18

PostPosted: Thu Nov 11, 2004 1:48 pm Reply with quote Back to top

Checked for me with the Sun Solaris version of the ioncube lib
Everything is fine with the modif.

Perhaps some ideas for the future ?

1. Caching the module ? (Cache Lite can do it)

2. If the block is cached, writting a last line in the content with for exemple : [Cached 3600] that is displayed with the block (just a line in your fonction with 'content=content+.....'
View user's profile Send private message
Raven
Site Admin/Owner


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

PostPosted: Thu Nov 11, 2004 4:29 pm Reply with quote Back to top

Mandala wrote:
Checked for me with the Sun Solaris version of the ioncube lib
Everything is fine with the modif.

Perhaps some ideas for the future ?

1. Caching the module ? (Cache Lite can do it)

2. If the block is cached, writting a last line in the content with for exemple : [Cached 3600] that is displayed with the block (just a line in your fonction with 'content=content+.....'
#1. Not as easy as it sounds. Blocks are easy because all the output is stored in a variable before displaying. Blocks vary in complexity and the manner in which the display is handled. I have been experimenting though.

#2. Should be no problem.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
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