Is it possible to save a view''s output into a static file rather than dynamically generate it each request?... I''ve got a working controller method and view to select my db records and format them into a custom XML output, but I''d like to save the view output into "/public/data/{params[:id]}.xml"
On Apr 25, 5:58 pm, Sav <savar...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Is it possible to save a view''s output into a static file rather than > dynamically generate it each request?... > > I''ve got a working controller method and view to select my db records > and format them into a custom XML output, but I''d like to save the > view output into "/public/data/{params[:id]}.xml"Sounds to me like you should read up on action controller''s caching support. Fred