PanosJee <panos...@...> writes:

> 
> Hello everyone I am working on a CSS/JS merger/minifier (with
> expiration tags) and i want to deploy on AppEngine.
> Unfortunately i cannot read static files on GAE as web2py has declared
> everything in /static as static files
> Do you have any ideas on how to circumvent this ?
> 


You could move the JS and CSS to a template folder or a folder that is not
static, and then make sure the .*js and .*css file patters are redirected to
your minify script.  Also, make sure you specify the content type in the headers
when you return the result so it doesn't get treated as HTML by default.

James



-- 
Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en

Reply via email to