Support Center

Knowledgebase
View categorized listing of all common frequently asked questions.
Video Tutorials
Create a Movie & TV Show review website.
Customize the jReviews themes.
Review user profiles with the Everywhere addon.
Forum
Community forum
Submit a Ticket
Use your client area email to access the ticket system.
Downloads
Guides, modules and more...
 
Welcome, Guest. Please login or register.
Did you miss your activation email?
January 07, 2009, 01:58:00 PM
22771 Posts in 5216 Topics by 2974 Members
Latest Member: Vijitha
News: Do not post any jReviews files or large amounts of code in the forums please. Only template files and code are allowed.
 
jReviews Support Forum  |  jReviews 1.x  |  General Discussion  |  Site performace - how to get your site to run faster « previous next »
Pages: [1]
Author Topic: Site performace - how to get your site to run faster  (Read 1522 times)
xtreeq
Jr. Member
**
Offline Offline

Posts: 32


WWW
« on: January 22, 2008, 12:47:37 AM »

This is not a jreviews topic but an admin topic.

To get your site to run faster you can do some changes to your httpd.conf (if you have a virtual / dedicated server) or use the .htaccess file for this if you'r on a shared hosting account.

First you need to have Firefox, then install the firebug add-on. after you have this add-on you need to install YSlow from developer.yahoo.com
1. Use YSlow to set your HTTTP requests to a minimun number.
2. Add expires to your CSS, JS, and all images (this will highly reduce site load time since all these components will be downloaded only the first time they appear and then loaded from the browser cache).
3. Minify all JS files.
4. Configure your ETags.

After I made these changes my site performace increased dramaticly.

Here's the changes to the httpd.conf file:
1. Makes sure you remove the: # to include mode_expires:
LoadModule expires_module modules/mod_expires.so
Now add (you can ofcourse set the access to what ever you need: week, day, month):
# enable expirations
ExpiresActive On
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType text/css "access plus 1 week"
ExpiresByType application/x-javascript "access plus 1 year"

2. From version 2 Apache uses mod_deflate and not gzip (if using apache vs.1 use gzip):
Romove the # tag from the line to enable:
LoadModule deflate_module modules/mod_deflate.so
Now add:
# enable deflate
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript

3. Add for ETags:
# calculate etags
FileETag MTime Size

Please keep in mind that I wrote this for my site. BEFORE you make any changes please check this on your localhost.

Hope this helps to improve your site performance.
Logged
Pages: [1]
« previous next »
    Jump to: