Once you have your Joomla site up and running, you should consider optimizing it to streamline the experience to your end users. If you don’t optimize your website, the load times could be slow, resulting in a poor customer experience. There are several ways that you can optimize your Joomla site.
Second, you can add components into your Joomla site that give you more granular control into what you cache. Instead of caching an entire page, you can cache specific images, media or a gallery. By doing this, your visitor’s browser response time is sure to decrease.
Finally, you should consider integrating a Content Delivery Network (CDN) to store and serve some of the media for your Joomla site. Use a component to such as CDN for Joomla to push all your media to our Cloud Files offering. When you do this, you take advantage of the geographically dispersed servers in the CDN to quickly push the files to the end user, which will result in a much better experience.
It’s a good idea to cache images, especially those that are used repeatedly on the site. However, there are many types of files that benefit the site if they are cached properly. Some files change rarely and other change more often, so it’s important to cache them for different lengths of time. However, for the cache to be useful, it must be at least two hours. Here are some common suggestions:
- 4 Hours: HTML files
- 2 Days: XML and TXT files
- 1 Year: ICO, PDF, FLV, JPG, JPEG, PNG, GIF, JS, CSS and SWF files