Total members 11894 |It is currently Thu Nov 21, 2024 10:05 pm Login / Join Codemiles

Java

C/C++

PHP

C#

HTML

CSS

ASP

Javascript

JQuery

AJAX

XSD

Python

Matlab

R Scripts

Weka





There are some steps you can do as blogger to increase your WordPress CMS blog speed, in this article we mention a selected solutions to this known problem which is “Slow Page load ”:
  • Enable the caching, use W3 Cache plug-in, this will increase the page load and reduce the hits on CPU and database management system.
  • Remove the not needed images / scripts you read from external sites.
  • Use a light theme. Default theme is ok.
  • Disable and delete as many unnecessary plugins you can. Check the remaining plugins using P3 (Plugin performance profiling plugin). If you can implement a function by directly modifying the theme without using the plugin, then do it.
  • Check your web host, if you are using shared hosting and getting big number of page views daily such as 10000 page views I suggests that you move to Virtual dedicated server, so you can grant more speed and expandability of your blogging business.
  • Use Firefox Firebug module to check for error in load time.
  • Decrease the number of posts shown in each page. Use smaller images (GIF and PNG)
  • Use websites tool to analysis your website and measure the loading time of each components such as:
    Code:
    YSlow
    tools.pingdom.com
    https://developers.google.com/speed/pagespeed/insights
  • Use Website Accelerator which uses Content Delivery Network (CDN) to cache static content from websites.
  • Use compression at server side. And also use server and browser caching , from server side you can configure Apache modules(Such as pagespeed_module) usage by editing your .htaccess file:
    Code:
    <IfModule mod_headers.c>

        # 1 YEAR
    <FilesMatch "\.(ico|pdf|flv)$">
    Header set Cache-Control "max-age=29030400, public"
    </FilesMatch>
    # 1 WEEK
    <FilesMatch "\.(jpg|jpeg|png|gif|swf)$">
    Header set Cache-Control "max-age=604800, public"
    </FilesMatch>
    # 2 DAYS
    <FilesMatch "\.(xml|txt|css|js)$">
    Header set Cache-Control "max-age=604800"
    </FilesMatch>
    # 1 MIN
    <FilesMatch "\.(html|htm)$">
    Header set Cache-Control "max-age=360, private, proxy-revalidate"
    </FilesMatch>
      
    </IfModule>
     

    <IfModule mod_expires.c>
      # Enable expirations.
      ExpiresActive On

      
    # Cache all files for 2 weeks after access (A).
      ExpiresDefault A1209600

      
    <FilesMatch .php$>
        # Do not allow PHP scripts to be cached unless they explicitly send cache
        # headers themselves. Otherwise all scripts would have to overwrite the
        # headers set by mod_expires if they want another caching behavior. This may
        # fail if an error occurs early in the bootstrap process, and it may cause
        # problems if a non-Drupal PHP file is installed in a subdirectory.
        ExpiresActive Off
      
    </FilesMatch>
      
    ExpiresByType image
    /gif "access plus 1 month"
    ExpiresByType image/jpeg "access plus 1 month"
    ExpiresByType image/png "access plus 1 month"
    ExpiresByType text/css "access plus 1 week"
    ExpiresByType text/javascript "access plus 1 week"
    ExpiresByType application/javascript "access plus 1 week"
    ExpiresByType application/x-javascript "access plus 1 week"
    ExpiresByType image/x-icon "access plus 1 year"
    </IfModule>

    #FileETag INode MTime Size
    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text
    /css
    AddOutputFilterByType DEFLATE text
    /javascript
    AddOutputFilterByType DEFLATE application
    /javascript
    AddOutputFilterByType DEFLATE application
    /x-javascript
    </IfModule> 

    pagespeed_module :
    Code:


    <IfModule pagespeed_module>
      ModPagespeed on
      ModPagespeedEnableFilters extend_cache
      ModPagespeedEnableFilters collapse_whitespace
      ModPagespeedEnableFilters combine_css
      ModPagespeedEnableFilters move_css_to_head
      ModPagespeedEnableFilters remove_comments
    </IfModule>
     

  • Use the latest version of WordPress and its plug-ins. (Specially if the new version includes a performance fixes)

Some of the solutions suggested are general for any website, I think that most of the webmasters start to feel a slow page speed if their websites become larger ( Large database more time) while they are using shared hosting which is cheap! yes , but in sometimes you may found your website hosted with more than 1000 websites, can you imagine this! , you can check the number of websites hosted on the same server (Same IP address and using same hardware resources) from this website :
Code:
http://www.yougetsignal.com/tools/web-sites-on-web-server/




_________________
M. S. Rakha, Ph.D.
Queen's University
Canada


Author:
Mastermind
User avatar Posts: 2715
Have thanks: 74 time
Post new topic Reply to topic  [ 1 post ] 

  Related Posts  to : How to increase WordPress Blog speed-decrease Page load time
 calculate the load time for a page     -  
 Add double quotes to text dynamically, on page load     -  
 Java Blog     -  
 How to write an interesting blog post?     -  
 How can I increase the PageRank of my website on Google?     -  
 here how to increase java heap size     -  
 increase the number of bank lines by <br/>     -  
 Image Scroller-scrollbar-LINE_UP,LINE_DOWN-PAGE-UP-PAGE-DOWN     -  
 load class to applet- load frame class to applet     -  
 Speed Painting     -  



cron





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com