Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4020176
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T10:11:44+00:00 2026-05-20T10:11:44+00:00

In my environment file, setting: config.action_controller.perform_caching = true causes javascript not to load at

  • 0

In my environment file, setting:

config.action_controller.perform_caching = true

causes javascript not to load at all.

The only javascript_include_tags i’m using are in three different view files and declared as such:

= javascript_include_tag 'jquery.timeago', 'application', 'rails_custom', :cache => 'common'
= javascript_include_tag 'application', 'rails_custom', :cache => 'common'
= javascript_include_tag 'jquery.validity.pack', 'jquery.timeago', 'application', 'rails_custom', :cache => 'common'

But the first and third ones are never included in the same request.

After setting the variable in the environment above, while hitting the application, a request for common.js is made and the server returns it, but Firefox gives a syntax error on it, claiming that a significant chunk of the file is not a function.

Under what circumstances would caching cause the combining of the javascript files to become invalid?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T10:11:45+00:00Added an answer on May 20, 2026 at 10:11 am

    AFAIK you can’t use the same cache name for different sets of files. Otherwise it will keep getting overwritten in each request..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am copying a file to a directory, and then setting an environment variable
i've added code config.gem authlogic-oauth, :lib => authlogic_oauth to the environment.rb file in my
When I run javascript script file in windows command line environment, and there is
I'm creating a program using C# (in ASP.NET environment) that makes an XML file.
How can I log to special folders (e.g. %APPDATA% ) using the app.config file?
I'm setting up a continuous integration environment, using VisualSVN Server and CrusieControl.NET. What I
For an ASP.Net environment what permissions should the logging file created by NLog have
Is it possible in the Windows environment to detect if a file is being
my ASP.NET application reads an xml file to determine which environment it's currently in
The environment: SVN, Netbeans, Hudson SVN Project A: Builds a library file (foo.jar). The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.