Archive

Posts Tagged ‘content management systems’

Why You Should Not Copy and Paste from Word into Your Content Management System

August 25th, 2010

It is very common for website owners to create or be given content in a Microsoft Word document and they copy and paste that directly from Word into the content management system. This is not the correct way to copy your content onto your website and could lead to potential problems, even the website page not working. This blog explains why and what you should do instead.

Read more…

Choosing the Right Type of Website Design

July 30th, 2010

bespokeFollowing on from my recent post on Static or Dynamic (Content Managed) Website – Which is Best? part 2 of my Choosing the Right Website Series focuses on the differences between various design options available for your website, the advantages and disadvantages of each one and the recommended choice. Read more…

Static or Dynamic (Content Managed) Website – Which One is Best

July 23rd, 2010

image of Content Managed Dynamic WebsiteDynamic websites with feature rich content management systems have been around for many, many years now, and offer a lot more features and flexibility compared to static websites, yet so many websites are still being developed as a static site over a content managed (dynamic) website.

This blog will explain what both static and dynamic websites are, their advantages and disadvantages, which one is best in my opinion, and hopefully help you gain a better understanding so you can choose the right one for you.

Read more…

Speed Up Your Website By Using Cache

June 1st, 2010

I recently finished a database intensive website using the Joomla content management system, and upon release the website popularity and therefore high database queries put quite a strain on the site which slowed it down more than usual. I try to develop websites to load as fast as possible, and with Google’s new "caffeine" release taking website speed into account it is all the more important.

In a situation like this one solution is to use website caching. Any database driven website (e.g. content managed), large or small, will benefit from using caching.

What is Caching?

Caching is when dynamic, database driven pages, such as those from a content managed website, are created as static HTML files on the server rather than pulled from the database every time someone requests a page. This means the page load times are must faster as no database queries or other script processing is performed.

Take a look at this monitoring report for the website in question before and after enabling cache. As you can see there is a dramatic improvement in page load speed (the vertical axis is page load times, the horizontal is time of day). A reduction from approx. 3 seconds to 0.2 seconds from within the UK.

Graph of website load speed over time

How Do I Enable Cache?

If you have a static website (plain HTML files, no content manager), then you do not need to do anything, cache is not required.

If you use a content management system, then cache is dependent upon your content management system, so speak to your web developer to ask them if such a cache system exists in your content manager.

If you use the Joomla content management system you will be pleased to know cache is built in and easily enabled.

  • Go to Extensions -> Plugins -> System Cache
  • Select the Yes radio button for Enabled
  • Enter the Cache lifetime (see below for explanation)
  • Click Save

That’s it!

b54e662b-f956-48c2-a32c-f62d1b869816334ec73f-09ce-4847-b0b3-dc9b4a63af3b 

What is Cache Lifetime?

Cache Lifetime is the time spent before the site performs a database query again and recreates the cached pages from the content. So any changes made will be shown after the lifetime expires. For a site that has infrequent content updates set the lifetime to a high number such as 24 hours or even 1 week (it’s in seconds), but if your site has regular content added or changed, then set it to a lower number, a number you are happy to wait before it re-generates, such as 1 hour or 15 minutes. If you have a busy site even 5 minutes will save a lot of database queries.

Resetting the Cache

c709d799-6297-412e-bce5-0578b59a9b21

Now your website pages will be saved on the server as HTML files rather than querying the database every time. This does have one drawback though, and that’s when you make a change in the editor, you will not see the change immediately on the site because it is showing a saved HTML page of before your change. You can either wait for the cache lifetime to expire and re-generate, or go to Tools -> Clean Cache and delete all the cached items to regenerate again. Then you will see your changes.

Beware of SEF

If you use a SEF component such as sh404SEF to make your URLs search engine friendly, make sure the SEF plugin is before the cache plugin else you may have problems with links.

Beware of Permissions

screen It’s possible you may have permissions issues which may disallow Joomla from deleting the cached files, especially if your FTP user owns all the files and not the server. If you have an failed to delete files error then you can enable FTP in the Joomla configuration so all file changes by Joomla will be performed by using the FTP user which may overcome file permissions issues.

You can do this by going to Site -> Global Configuration -> Server, and for FTP Settings choose Enable FTP Yes and enter the FTP details in the box. Click Save to save these details and you should be able to delete the Cached files.

Note: You should have the configuration.php file un-writeable for security, so you may also need to set this file to writeable using FTP first, save the above changes, then set the file back to un-writeable.

Improve Your WordPress Blog Theme – Finding Free Themes and Installing Them

January 18th, 2010

I’ve had a few clients recently ask me to setup a blogging system. I nearly always recommend WordPress because it is one of the most common and powerful blogging systems available and is free to download and use. Setting up the blog is straightforward if you know how to FTP and create a MySQL database on your web hosting account. Once setup it is ready to go, you can start blogging right away.

The only issue in my mind is the blog design. The default design is quite bland and probably very common, yet there are thousands of free designs available that are far more professional and just look much better, so why not change it? This blog describes how to obtain and install a new theme.

Read more…