PDA

View Full Version : Page caching?


iwarshak
02-22-2008, 10:07 PM
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?

mistwang
02-23-2008, 01:48 PM
Those should be added automatically when "Rails" Context are used. If you configure the rails application manually, you need to add those rewrite rules.