Page caching?

Discussion in 'Ruby/Rails' started by iwarshak, Feb 23, 2008.

  1. iwarshak

    iwarshak Member

    I think I remember reading that LS has the page caching rewrite rules built in, but it didn't work for me right away. I had to add the following in my VirtualHost rewrite rules

    RewriteRule ^/$ /index.html [QSA]
    RewriteRule ^([^.]+)$ $1.html [QSA]

    Did anyone else run into this problem?
  2. mistwang

    mistwang LiteSpeed Staff

    Those should be added automatically when "Rails" Context are used. If you configure the rails application manually, you need to add those rewrite rules.

Share This Page