Skip to content

SMFOSS/comboloader

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComboLoader
    WSGI App that is used in combination with another service/server that will allow the combining of any javascript or CSS files into a single, minimized (if not already), file and cache it.
    
    Example INI:
    
    [server:main]
    use = egg:Paste#http
    host = 0.0.0.0
    port = 80
    
    [composite:main]
    use = egg:Paste#urlmap
    / = YOURAPP
    /combo  = loader
    
    [app:loader]
    use = egg:comboloader
    base_js_dir = %(here)s/../howler/python/howler/howler/public/js
    base_css_dir = %(here)s/css/
    base_img_dir = %(here)s/img/
    config_file = %(here)s/config/combo.json
    use_config = False

    #session config
    beaker.session.data_dir = %(here)s/data/sdata
    beaker.session.lock_dir = %(here)s/data/slock
    beaker.session.key = comboloader
    beaker.session.secret = somesecret
    beaker.session.type = cookie
    beaker.session.validate_key = STRONG_KEY_HERE
    beaker.session.cookie_domain = .yourdomain.com
    
    [app:YOURAPP]
    use = egg:YOURAPP
    full_stack = true

About

Combo Loader for CSS and JS files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%