Chapter 11. SEO, Caching, and Logging

In this chapter, you will learn:

  • Using SEO-friendly URLs in CodeIgniter
  • Using CodeIgniter caching
  • Logging errors with CodeIgniter
  • Benchmarking your application

Introduction

In this chapter, we'll be taking a look at various caching recipes, which can be used with CodeIgniter. We'll be using the CodeIgniter caching functionality to help us store a data feed and database results--although the data feed and database results are really only there as a means to show you how to get data into CodeIgniter, so it can cache it--the data input can be anything you wish. We'll also look at ways to implement SEO-friendly URLs using CodeIgniter routing.

Get CodeIgniter 2 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.