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

  • Home
  • SEARCH
  • 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 7052631
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T03:24:25+00:00 2026-05-28T03:24:25+00:00

Is it possible to make App Engine automatically minify certain javascript and css files

  • 0

Is it possible to make App Engine automatically minify certain javascript and css files upon deployment, just like Jinja2 automatically compiles templates for you? I’ve seen some Python scripts that do minification, but how do I integrate them with webapp2?

I’m using the latest Google App Engine version with Python 2.7.

  • 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-28T03:24:26+00:00Added an answer on May 28, 2026 at 3:24 am

    You can write a simple script to do so.

    # -- update_batch.py --
    import sys
    import os
    
    def main():
        if len(sys.argv) == 1:
            return 
    
        appId = sys.argv[1]
        print "appId", appId
    
        # Your script to minify javascipt
        #os.chdir(r".\template")
        #cmd = r'jscom.py ./js/new/xxx_plugin.js xxx_plugin.js %s.appspot.com'%appId
        #os.system(cmd)
    
        os.chdir("..")
        # Perform appcfg.py to update GAE server
        cmd = r'"C:\Program Files\Google\google_appengine\appcfg.py"'
        os.system(cmd + " update . " + " -A %s"%appId)
    
        #os.system(cmd + " backends . " + " update worker " + " -A %s"%appId)
    
    if __name__ == "__main__":
        main()
    
    # Usage update_batch.py YOUR_APP_ID_HERE
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Make iPhone app paid version replace free version on install from app
How is it possible to make prototype methods in C#.Net? In JavaScript, I can
Is it possible to make such buttons ( http://img225.imageshack.us/img225/6452/buttonslw9.jpg ) using CSS? It should
I know that its possible to reference third party JavaScript files on the web
I was hoping to make a Rails app usable both as an Engine and
I'm trying to make an app that can play different midi files at the
Is there a way I can make class decorators work on Google App Engine
I'm wondering if it's possible to make the iPhone app project I have into
I have JSF with Richfaces app on Glassfish server. Is it possible to make
Is it possible to make a app that makes your computer run faster and

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.