Cache with format

Hello,

I am using a iphone optimized version of my Rails app as explained here
:

Everything is going well, the only problem that I have is with caching.

Because Rails is caching iphone format with the extension .html, that
does not allow me to cache these files without destroy the regular
version of the website.

Would someone have any idea of a solution ?

Thank you very much,

Pierre

Pierre P. wrote:

Hello,

I am using a iphone optimized version of my Rails app as explained here
:
railspikes.com

Everything is going well, the only problem that I have is with caching.

Because Rails is caching iphone format with the extension .html, that
does not allow me to cache these files without destroy the regular
version of the website.

Would someone have any idea of a solution ?

Thank you very much,

Pierre

Hi,

Not much idea for my problem… Impossible ?

I went in caching.rb and change line 150
#request.path
request.host + request.path

then adapt your apache conf. to serve the good cache files depending on
the virtualhost

Pierre

Pierre P. wrote:

Pierre P. wrote:

Hello,

I am using a iphone optimized version of my Rails app as explained here
:
railspikes.com

Everything is going well, the only problem that I have is with caching.

Because Rails is caching iphone format with the extension .html, that
does not allow me to cache these files without destroy the regular
version of the website.

Would someone have any idea of a solution ?

Thank you very much,

Pierre

Hi,

Not much idea for my problem… Impossible ?