If you're expecting a significant increase in web traffic, you probably have a few questions on how to optimize your website to achieve optimal performance. The following provides answers to some of these questions.
You might also want to send a message to support and let them know that you expect increased web traffic so they can keep an eye on it.
Make sure to enable site statistics to allow you to view and monitor changes to your site's traffic. Visit the following article for further details:
Keep your software up to date
Make sure that your applications are up to date. For example, if you’re running a WordPress site, make sure the following are updated:
- WordPress version
- Plugin versions
- Theme version
If you are using a DreamHost WordPress install, you can update the software version in the panel. Visit the following article for further details:
If your site provides dynamic content or is database driven (i.e., WordPress, Joomla, ZenCart, MediaWiki, phpBB, WebCalendar, and so on), you may want to enable some form of "caching" add-on. See that particular application's support page for further details and suggestions. If you’re running a WordPress site, review the following article:
View the following article for more caching options:
Optimize your Databases
To clean up and optimize your databases, visit the following article for further details:
Disable unused software
Disable unnecessary, unreliable, or resource intensive plug-ins if possible. If you’re running a WordPress site, disable any unused themes, plugins, or extra WordPress installations. Visit the following article for further details:
If your site allows visitors to leave comments, please make sure you're using some type of plugin to prevent spam comments. For example, if you're using WordPress, Akismet is a good choice.
Use secure contact forms
Make sure that your "contact us" form scripts are not vulnerable to abuse by spammers.
Optimize media files
You may want to replace large graphics, files, movies, and so on with lower resolution (smaller) versions temporarily.
Convert dynamic content to static content
If you can convert dynamic pages to static pages, that would help tremendously (but it may be difficult to do). Some caching tools, such as wp-super-cache, include the ability to do this using the plugin.
Throttle or disable your site
If for whatever reason your increased traffic causes problems for the server, it may be necessary for support to "throttle" your site (restricting the number of simultaneous visitors or maximum throughput, or the like) or possibly even disable it. This is done in fairness to the other customers on your server.
Remember that you're on a Shared Hosting plan and one customer cannot jeopardize the operation of the server for all of the other customers. DreamHost support offers optimization suggestions to help your site remain up and running, however it’s ultimately your responsibility to make sure your site does not negatively affect other users.
If it is necessary to throttle your site for some reason, support will contact the owner of the account with the details. If there is a problem with your site that you can resolve, make sure to notify support with details of what you did to fix the problem. Then, support may remove the throttle in place.
If it’s not possible to optimize your site any further, it may be necessary to upgrade your hosting plan to a VPS (Virtual Private Server). This is a separate hosting plan on a private server which gives you your own ‘virtual machine’. The VPS plan allows you to allocate the amount of RAM necessary to run your site. Even in the case of a spike in traffic, your site will not affect other users on the server.
Visit the following articles for further information: