Go Back   Silveryhat™ Computer Tech & Web Development vBulletin Management DnP Instant! Musicbox Modification
User Name
Password






Post New Thread
 
Rate Thread
Rate Topic : Tip : Use Built-In Cache system to speed up pageload


Info Tip : Use Built-In Cache system to speed up pageload
  #1   Share
Old 07-13
Staff's Avatar
Staff is offline Male Slave
 
Join Date: Jan 2007
Location: 35.957999,79.101563
Posts: 2,993
Gold: 46,960
Rank: 9 Votes / 4.56 Average
Send a message via Yahoo to Staff
Thanks Sent : 51
Thanked 698 Times in 325 Posts
Staff is a name known to allStaff is a name known to allStaff is a name known to allStaff is a name known to allStaff is a name known to allStaff is a name known to all
Did you know DnP Instant! Musicbox comes with a great built-in cache feed system that will keep data of your page load on the fly for every visitor*? It can even differ between Guest and Member page to display different information.

What's best of this feature is it absolutely reduces the numbers of queries down to the exact 0 value. Yes, it's totally no query, or database retrieval on load, even all informative blocks are activated.

How much does it save ? Let's say on a crowded board with 200 visits an hour to the musicbox and each page load may take up from 4-15 queries depends on the amount of active blocks. Even though the musicbox is optimized, with that many people connect at the same time, it still consumes huge server resource everytime they access the page. When the cache system is ON , all guests will be directed to pre-rendered page for guest and members have their own, which these pages require no query to run!

Microtime Check
On a really big crowded board with Cache OFF : 0.08879610 millisecond
On a really big crowded board with Cache ON : 0.00006652 millisecond

To turn the Cache system ON, simply go to your Configurations and set the following values :

» cache_mainpage yes

» how_many_minutes_to_keep_cache 10

An optimal value for minutes to keep cache is usually between 2-30 minutes. If your musicbox is very active, 2-15 minutes is the best in order to refresh newly added data while 30 or higher is for typical activity level. Whenever there is new media added, old cache will be automatically cleared.

*On UNIX host, the folder tmp must have CHMOD value as 777 for the page templates to be stored.
__________________
Click the image to open in full size.Click the image to open in full size.

The one that loves you at your worst is the one that deserves you at your best


My right to post information is protected under the constitutional rights for freedom. In all instances, information discussed here on my signatures are either hypothetical in nature, out of general curiosity, common knowledge, public knowledge, or role-play. Any use of the collective descriptions and shared knowledge from any of my signatures are at the sole discretion of the reader.
I am not responsible for what you do with it!

The Following 2 Users Say Thank You to Staff For This Nice Post:
Reply With Quote


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Post New Thread Reply

  Silveryhat™ Computer Tech & Web Development vBulletin Management DnP Instant! Musicbox Modification





Logos and trademarks are the property of Silveryhat™ or their respective owner. Comments are property of their posters.
www.silveryhat.com is founded by Silvery Hat © 2006-2009.