Wed, 15 Feb 2006

Typo 'Production' Page Caching Gotcha

Posted by Ben Wed, 15 Feb 2006 23:52:00 GMT

Here is a small gotcha and something to watch out for when you are attempting to get the Typo weblog software up and running.

In Production mode the default Typo cache setup is to write out static .html files for pages, categories and archive views.

This is invaluable when running a live system as Rails is not even invoked allowing Apache to respond to the request very efficiently, but quite annoying if you haven’t yet realised this is happening! It certainly caught me out, even when running through ruby script/server -e development the “old” page was being served since the .html file was still present.

ls -l public/articles/2006/02/11/another-weblog.html 
-rw-r--r--  1 www-data www-data 6901 Feb 16 00:03 public/articles/2006/02/11/another-weblog.html

Behind the scenes Typo will deal with refreshing the cached pages for us, but this refresh will only be triggered when changes are made.

Hope this helps someone.

Trackbacks

Use the following link to trackback from your own site:
http://www.slashdotdash.net/articles/trackback/6

Comments

Leave a response

  1. J.Mihai about 1 year later:

    === Hope this helps someone. ===

    Well it helps, thank you :-)

Comments