Drop hostname from cache key

By default, Rails will cache

    example.com/mywiki/show/SomePage
and
    www.example.com/mywiki/show/SomePage

In Instiki, this just leads to stale cached pages and frustration.
Fix that behaviour.
This commit is contained in:
Jacques Distler 2008-12-18 09:21:26 -06:00
parent 2ab04421a3
commit ad049bcc4b
2 changed files with 21 additions and 0 deletions

View file

@ -58,3 +58,4 @@ end
require_dependency 'instiki_errors'
#require 'jcode'
require 'caching_stuff'