How to Improve Server Response Time in WordPress? [closed] - wordpress

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I was using W3 Total Cache Plugin other then this plugin what I want to do to speeding up my WordPress site.

You can also use a CDN, optimise images (there is a plugin called WP-SmushIt), optimise your database (WP-Optimize plugin) and schedule database optimisation (WP-DB Manager plugin), minify and combine (Minit plugin), enable compression, remove any query strings from CSS and JS files (Remove Query Strings From Static Resources plugin), add an expires header to static resources, lazy load images (jQuery Image Lazy Load plugin), control post revisions (Revision Control plugin), and most importantly make sure you choose a good host - shared servers can be very slow.

I would advise to, instead of using more plugin use less plugins, ofcourse how fast you can make your website depends on the speed of your server.
First of all check your page via the console(F12) and go to the network tab. You can see all the elements that are loaded in, and you can check how long it takes for them to load in. So if some load elements load too long check them.(For example you can edit some images if they take too long)
What also helps is the following:
Check all your images, make sure to convert them to .png wich is usually not a large file size and scale them so you won't have ridiculous large images, or load times
Check how many visitors you have, if a lot of people are requesting your pages(aka visiting them) you may want to upgrade your server / hosting so it can handle those users
Reduce the resources used per page, so make sure all your css is in one file.
If you use too many plugins these all have to be loaded in as well, only use those wich you really need instead of installing 20+ plugins in the hope of making your pages faster. It usually won't work and make your website load even slower.

Related

WordPress installed Manually in subdirectory then mapped to using addon domain [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
New here...
I manually installed WordPress in a subdirectory of my hosting, and built a website prototype. The folks I created the prototype for, decided to go with it, so I then created an add on domain pointing to the subdirectory, and had their DNS mapped to my add on domain name.
Everything works, except, only the main page shows in the menubar as the domain name. All others (and all links) show as my original domain / subdirectory.
Is there anyway I can get things synced up so that everything is under the add on domain name?
You will need to update the all the links within the database. I suggest using a tool to do this as a lot of the database entries are serialized so you can't do a simple find and replace.
First backup your database.
After that use this tool
You will want to do search for olddomain.com/directory and replace it with newdomain.com
While it is great that the (clever) hack you did has mostly worked, you might want to do things differently taking into account the long-term stability and reliability of the site. (This might seem like a spot of bother, but like I just said, it should not only take care of your current problem but also ensure long-term stability of the site.)
Here is how I would do this:
In the first instance, do not map the add-on domain to the subdirectory of the other domain, but create a regular directory for it (if you have cPanel, that would be the default path when adding a domain).
Next, install the following plugin at the staging/demo site:
https://wordpress.org/plugins/duplicator/
Next, generate a Duplicator package (via the plug-in's menu on wp-admin dashboad).
Once the package is generated, download the two package files (installer.php and the archive/zip file) to your PC. Next, upload these two files to the live domain where you wish to create the site. Next, open the following link in your browser:
http://{your_domain}/installer.php
and follow on-screen instructions. Your site should get created and everything should work fine. (This is a WordPress site migration plugin/method that I've been using for a long time, for all sorts of use cases - including the one of yours - with great results).

Asp.Net MVC Site with more Images - Need CDN recommendation [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I currently have a Travel site built using Asp.Net MVC. The site have many articles and albums with lot of images asssociated with it. Currently, we are uploading the images locally to a folder and linking it in the article content and similarly for the albums too. Since the number of images are growing day by day, there are more loads on the webserver for every request which downloads lots of images.
I have seen other sites where they do similar thing by referring the images alone from a subdomain and some using CDN.
I am currently having shared hosting site plan and i need to reduce the stress to webserver by rendering the image from elsewhere.
Is there any CDN recommendation that is not so costly but can integrate well with my ASP.Net MVC site? I want to only upload the image to a CDN and link the image from CDN instead of local folder from the article posting page.
If CDN is not the option, can anyone suggest something else to serve my purpose?
Thanks in advance!
Yes, You need to move content to CDN. Because CDN provides very huge speed over network and it will reduce traffic to your web server.
There are very high range of CDN's available in market. I would suggest some of those for your purpose.
CDN77
Azure
MAXCDN
Akamai
From all above, CDN77 and Azure are less costly than others as per my experience.
and also you should try CDN77 14days free trial for testing purpose.
Thanks,
Hayat S.

Web hosting and CMS for twitter bootstrap site [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am starting a new project for a Custom Home Building company's website. I am new to web development but I have programming experience, so please excuse my newbie questions.
Here is what I have been trying to find answers to, but to no avail...
I am planning on using Twitter's Bootstrap to design the website which will mostly consist of images, videos,a contact page and portfolio (pretty basic). I am also planning on purchasing a bootstrap theme to get started and modify from there (a theme from a site called "wrapbootstrap"). Does anyone have any good experience with using Bootstrap themes and does this sound like a solid plan of action?
I am planning on using the Bootstrap theme but I am worried about content management. I would like the client to be able to change out and modify pictures and edit text easily. Is it good practice to give clients a CMS on the site to be able to do this or is this unheard of?
Also one last question. I am planning on hosting this on GoDaddy, does the host I choose need special requirements to host a Bootstrap site or can I easily upload it to a GoDaddy host?
All help is very much appreciated, Cheers!
GoDaddy, if you Google it, has notoriously slow and lousy hosting. You should familiarize yourself with what Bootstrap is. It's simply html, css, and jQuery, so any host will work. But a CMS has specific requirements, some require php 5+, image manipulation, and other server side apps, RAM requirements, and so on. Therefore you need to figure out a good host for your CMS.
If you are good with your CMS and understand html, and CSS and some jQuery then you can take a pre-created theme or your own and put in the tags, loops, menu, footer, header, and other includes and create a database driven site. Most developers use a CMS to allow customers the ability to add content to their sites. Wordpress developers create admin themes in html, css, and php so it's easy for their customer to update.
There's also hosted CMS systems that have built in functions for nearly all the common functions like galleries, blogs, etc., you need to look around. http://vandelaydesign.com/blog/web-development/hosted-cms/

Reduce a web site loading time in wordpress [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I created a site in wordpress. Site contains so many long pages, and many java scripts. But after a completion of site, server get so many loading time so that what change should be need to reduce a loading time ?
Follow the instructions
Use CloudFlare or Use Google mod_pagespeed UI
Use W3 Total Cache or WP super cache
Try gzip/http compression your site from w3 total cache
Use db cache reloaded fix
Use Smush-it/Ewww Image Optimizer to decrease image site
You can visit also below sites :
http://premium.wpmudev.org/blog/5-quick-ways-to-speed-up-your-wordpress-site/
http://www.sparringmind.com/speed-up-wordpress/
As the mentioned here above, use a CDN like Amazon Cloudfront or Cloudflare.
Use Amazon S3 for store all your medias like images and so.
Try to load all your Javascripts at the bottom of your body-end-tag.
Thats my best tips, that will reduce much.
If your are using W3Total Cache, make sure to use file renaming or query strings to bust cache when pushing updated files:
http://robandlauren.com/2013/04/11/busting-cache-in-wordpress/
Use CloudFlare or Use Google mod_pagespeed UI
Use W3 Total Cache or WP super cahe
Try gzip/http compression your site from w3 total cache
Use db cache reloaded fix
Use Smush-it/Ewww Image Optimizer to decrease image site
I highly recommend you look into using W3 Total Cache. Like others have stated, you can minify and cache several of your pages. W3TC also has CDN support. If you'd like to go the easy route, check out its integration with MaxCDN, otherwise I recommend Amazon CloudFront.
Additionally you may want to see if CloudFlare is for you.
Out of the box WordPress is very fast. It only starts to slow down through your choice of plugins and themes. Go through them and delete anything that's unnecessary. Yes, delete even deactivated plugins/themes.
WP Smush.it has been taken over by WPMU and has improved immensely. Definitely recommend it.
If you're using W3 Total Cache try disabling (if you've turned on) the "Object Cache" feature. I've fixed a lot of problem with site loading disabling this feature and disabling che "Live traffic" on Wordfence
Use wp_enqueue_script to avoid multiple js jQuery css files being called. I mean there are many plugins referring to different versions of jQuery them use wp_enqueue_script.
Try installing W3 Total Cache plugin where you can optimize your site, minimize css and combine jQuery files.
Try loading your site # whichloadsfaster.com. Analyze the results and work accordingly. Hope this would suffice.
For faster loading try optimizing your code, ask yourself whether each plugin that you have installed is worth keeping, remove them if not needed.
Also try configuring a CDN for your blog, this will surely reduce loading time as well as load on your server.

Service is down status [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
What is the best practice to inform users if the services is down? In my example it's an application upload function that may be over capacity.
Thanks.
Uli
There are many ways that this can be accomplished and it all depends on what best fits your particular application.
If all you are looking to do is disable a feature, like in your example of disabling the upload feature, you could put a prominent message at the top of that page that says that it is not currently available and then disable the upload button on that page.
If you plan to take down the whole site for maintenance, it's good to have it as a separate page that is not linked to the rest of your site in any way. That way you can modify anything within your site, and also make a lot of changes to your web server.
Have an error page that is pure HTML - that way if the database goes down, you are not showing an error page that is dependant on some kind of DB query. Otherwise, your error page, will error.
You could return an HTTP error code if it is a web/http upload endpoint.
In our company, we have a procedure that do something like that (on our apache server):
Stop a particoular service
Enter .htaccess and do a rewrite-url to a standard down page
When we came back:
Enter .htaccess and remove the rewrite-url
Restart services
This is done by a bash script called when we want to shut down some services.
You could do that with a demon that check if server is "overlogged" and starts that routine.

Resources