[Catalyst] contollers being cached.

Tyler Bird birdty at epromo.com
Mon Feb 25 19:33:40 GMT 2008


Hi,

I just installed catalyst and I change  parameter in my controller file
say to retrieve a different ranking of books


    $context->stash->{books} = [
        $context->model('MyAppDB::Book')->search( { rating => 5 } )       
    ];

to

    $context->stash->{books} = [
        $context->model('MyAppDB::Book')->search( { rating => 4} )       
    ];


but when I visit the generated page it will not show the 4 rankings
UNTIL I restart the catalyst test server.

How can I make it so that all changes to controllers are automatically 
recognized and not cached
until you restart the webserver?

Thanks so much

Tyler



More information about the Catalyst mailing list