[web2py] Re: Web2py adn Gzip

2020-10-31 Thread Gaël Princivalle
Hi. I was working on a http website. Anyway the https protocol don't accept gzip, so as all websites now are https, it don't have any interest to have gzip. My https websites load really faster compare to Webfaction. Good deal. Il giorno sabato 24 ottobre 2020 alle 22:14:21 UTC+2 Jose C ha

[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

[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. --

[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

[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

[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