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:
parent
2ab04421a3
commit
ad049bcc4b
2 changed files with 21 additions and 0 deletions
|
@ -58,3 +58,4 @@ end
|
|||
require_dependency 'instiki_errors'
|
||||
|
||||
#require 'jcode'
|
||||
require 'caching_stuff'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue