Go Back   Pligg CMS Forum > Pligg Development > Pligg Templates > Template Support > Old Templates > "Digital Nature"

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-17-2007, 11:25 PM
New Pligger
 
Join Date: Jan 2007
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb increase speed by hardcoding sidebar mods

I was getting irritated waiting for everything to load on my pages and found that the biggest bottleneck was all the sidebar modules. So, I took most of the stuff out of the sidebar.tpl or rather released the dependency on login before showing the mods.

Now, the only dynamic call in sidebar.tpl is the login box. Everything else is static and appears on every page...or if it's dynamic, it's pulling from a 3rd party, such as MyBlogLog.

The speed improvement is definitely noticeable. I assume there would be similar advantages for all templates, but I'm using Digital Nature.

Here's the site:

http://helpthing.com/
Reply With Quote
  #2 (permalink)  
Old 04-18-2007, 03:46 AM
savant's Avatar
Constant Pligger
 
Join Date: Apr 2006
Location: UK
Posts: 1,218
Thanks: 64
Thanked 207 Times in 148 Posts
yes there will be a performance enhancement, it doesn't have to keep joining tpl files.

But for maintainability, it's easier for a user to see it in separate files. Guess once they do all the changes, they can put it all into one tpl file.
__________________
Anatomy of the Pligg template Help needed
Reply With Quote
Reply

Thread Tools
Display Modes
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Similar Threads
Thread Thread Starter Forum Replies Last Post
How to increase submit speed from 45s to a fraction while keeping Akismet anti-spam davy68 Modification Tutorials 19 10-04-2008 01:37 PM
Speed up PliGG: Forum SQL, DB, Optimization mods, tips and techniques all in one post catchpen Modification Tutorials 2 07-22-2008 04:11 PM
Recreate functionality of origianl sidebar in added sidebar trustnot "Digital Nature" 1 03-15-2007 10:15 AM


Search Engine Friendly URLs by vBSEO 3.2.0