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 8126737
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T07:15:30+00:00 2026-06-06T07:15:30+00:00

The play documentation says that « By default, [the Assets] controller provides caching, ETag,

  • 0

The play documentation says that « By default, [the Assets] controller provides caching, ETag, gzip compression and JavaScript minification support. »

How can I set up play to minify the javascripts files ? It’s not done in the default setting either in dev or prod mod, and the doc doesn’t explain it.

Thank you.

  • 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-06-06T07:15:32+00:00Added an answer on June 6, 2026 at 7:15 am

    Make sure your javascript ressources are located in your /app/assets/javascript folder (so you will benefit from Google Closure Compiler), and then, you just have to name your js file using whatevername**.min**.js

    Example in a view:

    <script src="@controllers.Assets.at("public", "javascripts/whatevername.min.js")" type="text/javascript"></script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The documentation says: $ play start Note: the HTTP port can be set by
I'm trying to follow Play!'s documentation for validation . I have a controller with
new to play, I noticed in tutorial and online documentation that play's secure model
I wondering is there an equivalent of this feature from play framework http://www.playframework.org/documentation/2.0/JavaAsync Basicly
Does play automatically cache data? I'm trying to read this code that someone else
I am new to play framework. tried to follow the tutorial http://www.playframework.org/documentation/1.2.4/guide2 when i
I'd like to play around with attribute value validation, but the documentation is pretty
There isn't much documentation about Play 2.0 template engine. How does one create a
I am implementing a project with play 1.2.4, based on documentation the right way
The official documentation for TemporaryFile reads: The mode parameter defaults to 'w+b' so that

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.