# Edge Javascript caching just not working

**URL:** <https://www.ruby-forum.com/t/edge-javascript-caching-just-not-working/118476>\
**Category:** Rails\
**Created:** [October 27, 2007, 4:15pm UTC](https://www.ruby-forum.com/t/edge-javascript-caching-just-not-working/118476 "2007-10-27T16:15:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 27, 2007, 4:15pm UTC](https://www.ruby-forum.com/t/edge-javascript-caching-just-not-working/118476/1 "2007-10-27T16:15:11Z")

</div>

For some reason, in production, with this one line of code:

javascript\_include\_tag :all, :cache =\> true

I get this:

I’ve tried setting production.rb with both the default:

config.action\_controller.perform\_caching = true

and:

ActionController::Base.perform\_caching = true

to no avail.

Did the syntax change? Is this just not implemented yet?

Stephen

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [October 27, 2007, 4:40pm UTC](https://www.ruby-forum.com/t/edge-javascript-caching-just-not-working/118476/2 "2007-10-27T16:40:22Z")

</div>

Eh, I always forget to screw around with syntax a bit more.

If you ever have this problem, try:

javascript\_include\_tag(:all, :cache =\> true)

The parentheses will let things parse as they should.

On Oct 27, 9:14 am, “removed\_email\_address@domain.invalid”
