Best way to update site under thin

recently i have been using apache/passenger (mod_rails) as my
production/development environment but have been having some issues so i
switched to nginx/thin.

what i am wondering is how should i push my updates now if i have
multiple page changes to make at once to production.

with passenger…none of the changes would take effect until i did a
touch tmp/restart.txt since the pages were cached. now, the updates are
done instantly without any restart of the web services.

if i have to update multiple pages at once which will break other pages
during the process, what would you do?

On Aug 9, 9:07 am, Scott K. [email protected]
wrote:

with passenger…none of the changes would take effect until i did a
touch tmp/restart.txt since the pages were cached. now, the updates are
done instantly without any restart of the web services.

Do you have the following in your config/environments/production.rb?

config.action_controller.perform_caching = true
config.action_view.cache_template_loading = true

On Aug 9, 6:07 pm, Scott K. [email protected]
wrote:

if i have to update multiple pages at once which will break other pages
during the process, what would you do?

Are you sure you’re running Thin in production mode?

Matt Haley wrote:

On Aug 9, 9:07�am, Scott K. [email protected]
wrote:

with passenger…none of the changes would take effect until i did a
touch tmp/restart.txt since the pages were cached. �now, the updates are
done instantly without any restart of the web services.

Do you have the following in your config/environments/production.rb?

config.action_controller.perform_caching = true
config.action_view.cache_template_loading = true

oops your right! i was testing on my development environment. for some
reason i was thinking it was the same.
thanks!