# Problem caching XML files

**URL:** <https://www.ruby-forum.com/t/problem-caching-xml-files/59567>\
**Category:** Rails\
**Created:** [May 4, 2006, 7:07am UTC](https://www.ruby-forum.com/t/problem-caching-xml-files/59567 "2006-05-04T07:07:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ingoweiss](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/77aa72/32.png) [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Post date:** [May 4, 2006, 7:07am UTC](https://www.ruby-forum.com/t/problem-caching-xml-files/59567/1 "2006-05-04T07:07:04Z")

</div>

Hi,

When I turn on action cashing for actions that render as XML using  
builder templates, the files are cashed with an .html extension, and  
subsequently served as html which breaks things.

Is there a way to cache files with an .xml extension?

Ingo W.

---

<div class="post-metadata">

**Author:** ![ingoweiss](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/77aa72/32.png) [@ingoweiss](https://www.ruby-forum.com/u/ingoweiss)\
**Post date:** [May 4, 2006, 2:50pm UTC](https://www.ruby-forum.com/t/problem-caching-xml-files/59567/2 "2006-05-04T14:50:21Z")

</div>

This isn’t much help but try google for rss feeds and caching. I  
remember reading someones blog who had this problem. They found a  
solution.

Charlie B.  
[www.recentrambles.com](http://www.recentrambles.com)
