[web2py] Re: Web2py adn Gzip

2020-10-24 Thread Jose C
On Saturday, 24 October 2020 20:13:23 UTC+1, Jose C wrote: > > > The zip_static_files.py utility in your web2py scripts directory will > create gzipped versions of all your static files for you. > >> Great. >> However something goes wrong. >> > > As a workaround, you could probably quite easily

[web2py] Re: Web2py adn Gzip

2020-10-24 Thread Jose C
> The zip_static_files.py utility in your web2py scripts directory will create gzipped versions of all your static files for you. > Great. > However something goes wrong. > hmmm, what is your python version? And web2py version? I'm suspecting this tool hasn't been updated to py3. -- Resour

[web2py] Re: Web2py adn Gzip

2020-10-24 Thread Gaël Princivalle
It seems that for a similar error the solution was to update Python to almost 2.7.9. >https://github.com/numba/numba/issues/2642 On Opalstack in the virtualenv I've 2.7.5. Checking the latest version with python2 --version I obtain 2.7.5. That's strange as it exists 2.7.16. Il giorno sabato 24 o

[web2py] Re: Web2py adn Gzip

2020-10-24 Thread Gaël Princivalle
>Perhaps you can +1 them on this feature request. Done. > The zip_static_files.py utility in your web2py scripts directory will create gzipped versions of all your static files for you. Great. However something goes wrong. [user@vpsXX web2py]$ python web2py.py -S myapp -R scripts/zip_static_f

[web2py] Re: Web2py adn Gzip

2020-10-24 Thread Jose C
I requested gzip as well for a static media site (https) and they said: Our front-end Nginx server will not use gzip compression for requests > served over HTTPS. This is by design as a mitigation for the BREACH > exploit . > > We've an internal feature tick