Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

How to improve page load time & reduce server load for startup wordpress website

#1
Lightbulb 
I see a lot of "new" wordpress based websites loading slow and when I see the source code, either or both of the following are the issues,

  1. html/css/javascript is not minified
  2. pages are not cached

So in order to do that for a "new" wordpress website, you should try the following 2 plugins.

Autoptimize

Quote:Autoptimize speeds up your website and helps you save bandwidth by aggregating and minimizing JS, CSS and HTML.

http://wordpress.org/plugins/autoptimize/

WP Fastest Cache

Quote:The simplest and fastest WP Cache system

https://wordpress.org/plugins/wp-fastest-cache/


You might ask why not use Total Cache or Super Cache. I suggest WP Fastest Cache because its easy to configure and its more than enough for a startup website and it has lots of 5star rating/reviews and also has 4.8 rating out of 5.


Please check the screenshots for the settings that I found to be the best suited when using these plugins together. I did lots of test before coming up with this settings.

   

   


Drinks
[Image: uWWcwyB.jpg]
[-] The following 4 users Like Penguin's post:
  • DJB, Genesis, Hazem, th3m4r1n3
#2
this a great help for me for speedup desktop version.. can u pls tell me how to speeup mobile
#3
When the optimize javascript option is enabled, some plugins do not work. So I've uploaded new pictures with new configuration.

@Admins, I request you to update the picture in the OP with the picture in this post. Thanks.



(09-11-2014, 01:13 AM)durgapujo2013 Wrote: this a great help for me for speedup desktop version.. can u pls tell me how to speeup mobile

To do that, you need a theme that supports mobile version.


Attached Files Thumbnail(s)
       
[Image: uWWcwyB.jpg]
#4
by said setting one of my timer countdown plugin not activate ..
#5
(09-12-2014, 05:06 PM)durgapujo2013 Wrote: by said setting one of my timer countdown plugin not activate ..

Yes, you have to disable "optimize javascript" option in the autoptimize plugin setting.

Check my previous post for configuration screenshots. Smile
[Image: uWWcwyB.jpg]
#6
load time is very important for seo, just minimise images; java, and media; on webpages; search enegins likes text !
#7
gziped output also can speedup your pageload
ytdl.xyz youtube downloader
#8
I'd say most important rule would be to keep it simple. Don't load too many plugins, particularly of the kind that could slow down pages. And don't choose a complicated theme. Keep things tidy. Get rid of the files you don't use. Don't add too many rules through php. Anything that is given for the Website to think about, would make it slightly slower to process.

[-] The following 1 user Likes Genesis's post:
  • ogah
#9
Use Wp-Optimize to cleanup your database, WordPress Zero Spam as Antispam,
Use a very light theme preferably with schema.org support.
[-] The following 1 user Likes binil's post:
  • Genesis
#10
I always create a .htaccess file which will help speed up your site loading times I have found some of the plugins that auto minify etc can break your site template or interfere with other plugins you are using

this is a common .htaccess file I use as a base

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css A31536000
ExpiresByType text/x-component A31536000
ExpiresByType application/x-javascript A31536000
ExpiresByType application/javascript A31536000
ExpiresByType text/javascript A31536000
ExpiresByType text/x-js A31536000
ExpiresByType text/html A3600
ExpiresByType text/richtext A3600
ExpiresByType image/svg+xml A3600
ExpiresByType text/plain A3600
ExpiresByType text/xsd A3600
ExpiresByType text/xsl A3600
ExpiresByType text/xml A3600
ExpiresByType video/asf A31536000
ExpiresByType video/avi A31536000
ExpiresByType image/bmp A31536000
ExpiresByType application/java A31536000
ExpiresByType video/divx A31536000
ExpiresByType application/msword A31536000
ExpiresByType application/vnd.ms-fontobject A31536000
ExpiresByType application/x-msdownload A31536000
ExpiresByType image/gif A31536000
ExpiresByType application/x-gzip A31536000
ExpiresByType image/x-icon A31536000
ExpiresByType image/jpeg A31536000
ExpiresByType application/json A31536000
ExpiresByType application/vnd.ms-access A31536000
ExpiresByType audio/midi A31536000
ExpiresByType video/quicktime A31536000
ExpiresByType audio/mpeg A31536000
ExpiresByType video/mp4 A31536000
ExpiresByType video/mpeg A31536000
ExpiresByType application/vnd.ms-project A31536000
ExpiresByType application/x-font-otf A31536000
ExpiresByType application/vnd.ms-opentype A31536000
ExpiresByType application/vnd.oasis.opendocument.database A31536000
ExpiresByType application/vnd.oasis.opendocument.chart A31536000
ExpiresByType application/vnd.oasis.opendocument.formula A31536000
ExpiresByType application/vnd.oasis.opendocument.graphics A31536000
ExpiresByType application/vnd.oasis.opendocument.presentation A31536000
ExpiresByType application/vnd.oasis.opendocument.spreadsheet A31536000
ExpiresByType application/vnd.oasis.opendocument.text A31536000
ExpiresByType audio/ogg A31536000
ExpiresByType application/pdf A31536000
ExpiresByType image/png A31536000
ExpiresByType application/vnd.ms-powerpoint A31536000
ExpiresByType audio/x-realaudio A31536000
ExpiresByType image/svg+xml A31536000
ExpiresByType application/x-shockwave-flash A31536000
ExpiresByType application/x-tar A31536000
ExpiresByType image/tiff A31536000
ExpiresByType application/x-font-ttf A31536000
ExpiresByType application/vnd.ms-opentype A31536000
ExpiresByType audio/wav A31536000
ExpiresByType audio/wma A31536000
ExpiresByType application/vnd.ms-write A31536000
ExpiresByType application/font-woff A31536000
ExpiresByType application/vnd.ms-excel A31536000
ExpiresByType application/zip A31536000
</IfModule>
<IfModule mod_deflate.c>
<IfModule mod_setenvif.c>
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
</IfModule>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
<IfModule mod_mime.c>
# DEFLATE by extension
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
<FilesMatch "\.(css|htc|less|js|js2|js3|js4|CSS|HTC|LESS|JS|JS2|JS3|JS4)$">
FileETag MTime Size
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public"
Header unset Set-Cookie
</IfModule>
</FilesMatch>
<FilesMatch "\.(html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|XML)$">
FileETag MTime Size
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public"
</IfModule>
</FilesMatch>
<FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|woff|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|WAV|WMA|WRI|WOFF|XLA|XLS|XLSX|XLT|XLW|ZIP)$">
FileETag MTime Size
<IfModule mod_headers.c>
Header set Pragma "public"
Header append Cache-Control "public"
Header unset Set-Cookie
</IfModule>
</FilesMatch>

RewriteEngine On
RewriteBase /

RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [OR]
RewriteCond %{HTTP_USER_AGENT} ^Bot\ mailto:craftbot\@yahoo\.com [OR]
RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [OR]
RewriteCond %{HTTP_USER_AGENT} ^Custo [OR]
RewriteCond %{HTTP_USER_AGENT} ^DISCo [OR]
RewriteCond %{HTTP_USER_AGENT} ^Download\ Demon [OR]
RewriteCond %{HTTP_USER_AGENT} ^eCatch [OR]
RewriteCond %{HTTP_USER_AGENT} ^EirGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [OR]
RewriteCond %{HTTP_USER_AGENT} ^Express\ WebPictures [OR]
RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [OR]
RewriteCond %{HTTP_USER_AGENT} ^EyeNetIE [OR]
RewriteCond %{HTTP_USER_AGENT} ^FlashGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetRight [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetWeb! [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [OR]
RewriteCond %{HTTP_USER_AGENT} ^GrabNet [OR]
RewriteCond %{HTTP_USER_AGENT} ^Grafula [OR]
RewriteCond %{HTTP_USER_AGENT} ^HMView [OR]
RewriteCond %{HTTP_USER_AGENT} HTTrack [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Stripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} Indy\ Library [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^InterGET [OR]
RewriteCond %{HTTP_USER_AGENT} ^Internet\ Ninja [OR]
RewriteCond %{HTTP_USER_AGENT} ^JetCar [OR]
RewriteCond %{HTTP_USER_AGENT} ^JOC\ Web\ Spider [OR]
RewriteCond %{HTTP_USER_AGENT} ^larbin [OR]
RewriteCond %{HTTP_USER_AGENT} ^LeechFTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mass\ Downloader [OR]
RewriteCond %{HTTP_USER_AGENT} ^MIDown\ tool [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mister\ PiX [OR]
RewriteCond %{HTTP_USER_AGENT} ^Navroad [OR]
RewriteCond %{HTTP_USER_AGENT} ^NearSite [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetAnts [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Octopus [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator [OR]
RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto [OR]
RewriteCond %{HTTP_USER_AGENT} ^pavuk [OR]
RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [OR]
RewriteCond %{HTTP_USER_AGENT} ^RealDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^ReGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [OR]
RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Surfbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [OR]
RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [OR]
RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebAuto [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebCopier [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebFetch [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebGo\ IS [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebLeacher [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebReaper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebSauger [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website\ Quester [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebStripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Wget [OR]
RewriteCond %{HTTP_USER_AGENT} ^Widow [OR]
RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus
RewriteRule ^.* - [F]
# The following rules are for common hacking tools:
SetEnvIf user-agent "Indy Library" stayout=1
SetEnvIf user-agent "libwww-perl" stayout=1
SetEnvIf user-agent "Wget" stayout=1
# The following rules are for bandwidth-hogging download tools
SetEnvIf user-agent "Download Demon" stayout=1
SetEnvIf user-agent "GetRight" stayout=1
SetEnvIf user-agent "GetWeb!" stayout=1
SetEnvIf user-agent "Go!Zilla" stayout=1
SetEnvIf user-agent "Go-Ahead-Got-It" stayout=1
SetEnvIf user-agent "GrabNet" stayout=1
SetEnvIf user-agent "TurnitinBot" stayout=1
# This line denies access to all of the above tools
deny from env=stayout
[-] The following 1 user Likes mike2098's post:
  • Yozora
#11
Using nginx would fix loading speed issues (even when used to proxy cached content), I am unsure if this hosting uses nginx or not.

I also recommend, on top of all the suggestions here, using cloudflare, blocks against ddos attacks and can also cache content which offloads the work to their server from yours. In any case, there is a wordpress plugin for cloudflare also that syncs to your account to make sure settings are set properly: https://wordpress.org/plugins/cloudflare/
#12
(01-03-2015, 10:54 PM)7-7-7 Wrote: Using nginx would fix loading speed issues (even when used to proxy cached content), I am unsure if this hosting uses nginx or not.

I also recommend, on top of all the suggestions here, using cloudflare, blocks against ddos attacks and can also cache content which offloads the work to their server from yours. In any case, there is a wordpress plugin for cloudflare also that syncs to your account to make sure settings are set properly: https://wordpress.org/plugins/cloudflare/
i also use nginx.
but i don't know how to setup load balancer on free nginx.
can you give me some reference to configure/setup nginx load balancer bro?
i have try some tutorial but i get error 5xx
ytdl.xyz youtube downloader
#13
W3 total cache is my favorite plugin.I use page cache, minify and browser cache. It can speed up my wordpress site and reduce server load.
#14
It is not the rule of thumb to turn on the cache for everything. Actually, caching without proper configuration can be very harmful for the site. User may have very unstable experience, like vanishing orders from the cart, pages returning the same result for different requests and so on.
#15
use rocket WP plugin, just with one click problem solved
also cloudflare is recommended
#16
I would recommend the old school method for this. Optimize the code of your website , use low sized images and avoid iframes. This is an old school method and works like a charm for anyone who cannot afford cloud services.
Here comes the pain!
#17
let me try it... actually using few plugins to get speed.
#18
I use w3 total cache and i am very pleased ! my website loads in 3sec
#19
I feel sorry for all word press users if you have to find plugins to reduce load
#20
I have tried various methods on a WP-run website that is hosted on Gigarank. I do not want to sound like I am complaining; Gigarank is free, and so I do not complain, absolutely, but I have a feeling that whatever I do, the website still runs slow and I think it is because of the fact that Gigarank's shared hosting is not powerful enough to run so sophisticated CMS.

Am I right, or is there someone who has WP on Gigarank's hosting and applying some hard-core optimization allows it to run smoothly?
#21
(05-17-2015, 04:57 PM)Gregoric Wrote: I have tried various methods on a WP-run website that is hosted on Gigarank. I do not want to sound like I am complaining; Gigarank is free, and so I do not complain, absolutely, but I have a feeling that whatever I do, the website still runs slow and I think it is because of the fact that Gigarank's shared hosting is not powerful enough to run so sophisticated CMS.

Am I right, or is there someone who has WP on Gigarank's hosting and applying some hard-core optimization allows it to run smoothly?

WP is not sophisticated, its bloated. My CMS that I wrote runs fast in Gigarank.
#22
(05-17-2015, 05:51 PM)strokerace Wrote: WP is not sophisticated, its bloated. My CMS that I wrote runs fast in Gigarank.
That is completely TRUE. If one check the CMS of most, even the ones with the appearance of sophistication, it's an eyesore. I'm always worried when it is as messy as that about how really secure it can be.

#23
(05-17-2015, 06:07 PM)Genesis Wrote:
(05-17-2015, 05:51 PM)strokerace Wrote: WP is not sophisticated, its bloated. My CMS that I wrote runs fast in Gigarank.
That is completely TRUE. If one check the CMS of most, even the ones with the appearance of sophistication, it's an eyesore. I'm always worried when it is as messy as that about how really secure it can be.

That is correct. If you take CMS like Vbulletin, Innovision and PHPbb, they are bloated. Require extra plugins. They have paid and free themes. Yet they are the most hacked CMS as the devs code sloppy.

Seeing I started writing my CMS back when everyone was on dial-up, the biggest complaint was slow page loads.So I added some code to say how long it takes to load pages. Back then, you were happy for a page to load under 2 secs.Now with todays advances, my index loads in .03 secs ona gigarank server. Next page to the forums loads in .007 secs. Ya, I have no real content, but can other CMS boast that speed for page loads? And that is code from 2006 when I last changed things. That was when PHP 2 was being used. It works on PHP 5.3, but not on 5.4 yet.
#24
Our owner Chris (DJB) is pretty good with CMS. His code and CMS are impeccably neat and clean. Very kind to the eye.

You can check some of the examples from his Website:
http://www.sitebee.co.uk/free-css-templates/

The beadysite one is my favourite. CSS needs to be updated for mobile-friendly however. I'm going to try to do that as a project - hopefully next weekend.

#25
Well, to speedup your website you can use a free CDN plugin or CloudFlare. If you're using WordPress just take a look here:
http://www.wpexplorer.com/free-cdn-servi...wordpress/

Otherwise you can search with google "Free CDN" and search how does it works and how you can install it, you can also search in youtube for a video tutorial with a free CDN. I hope that i helped. Smile
#26
(07-11-2015, 09:11 PM)alexnt Wrote: Well, to speedup your website you can use a free CDN plugin or CloudFlare. If you're using WordPress just take a look here:
http://www.wpexplorer.com/free-cdn-servi...wordpress/

Otherwise you can search with google "Free CDN" and search how does it works and how you can install it, you can also search in youtube for a video tutorial with a free CDN. I hope that i helped. Smile

You are absolutely right, and thanks for mention CDN , since I suppose some of the WP users don't know what it is.
MaxCDN is probably the best such plugin for WP, but unfortunately, it costs money, for most of the Blogs, about 50-70 dollars a year...

My opinion about best free substitute is CloudFlare. ..
#27
@alexnt

I'm not a big fan of Cloudflare. Just had a case at another hosting site with someone who couldn't get their cPanel up so by way of a solution Cloudflare is asking Webhosts to step down their security by tweaking it so Cloudflare can have the pretense of their own security - I find this recommendation of theirs mind boggling:
https://support.cloudflare.com/hc/en-us/...CloudFlare

There is also no guarantee Cloudflare will speed things up. It does for some, and not for others - depends what it is used for.

I liked this comment I found at Webhostingtalk as I'm sure there is some truth in this:

Quote:I honestly think most people that think it's "great" are too used to using overloaded servers like Hostgator/EIG, Godaddy, etc. Put the site on a good server, even a shared one (Stablehost), and it'll fly. There's really no need for a CDN unless it's video or a massive site with a ton of large images. And there are better CDNs than CF.

Just another one of those popular things that's way, way overrated.

Most people that like it are low-knowledge users on shared hosting, as best I can tell. I rarely see seasoned admins suggest it, and even then they don't give it rave reviews. It's lukewarm at best.
Source: http://www.webhostingtalk.com/showthread.php?t=1255470

#28
Well, I said best "substitute" ... free is free, unfortunately. Some services just need to go Premium. If you need such service, find the way to pay for it. If you're not sure if you need it, but still want to use it ...take a risk...or find some other way ...
#29
WP Super Cache always breaks my scripts.

Few tips from my side,

- Don't use iFrames on your pages
- Reduce the image size you use on your posts/featured posts
- Prefer PNG format if possible
- Don't use Flash content
- Don't use too many widgets on your wordpress which fetches data from 3rd party using Javascript or PHP.

These are very simple yet effective things that you should remember.
Here comes the pain!
  




Users browsing this thread:
1 Guest(s)

How to improve page load time & reduce server load for startup wordpress website527