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 scritto:

> 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 customize the script.  
>
> It looks like it only needs the web2py environment to get the 
> request.folder variable to find the static directory of your app.  If you 
> edit the script and change where it gets which folder to scan and assigns 
> to the static_path variable (by either hardcoding or passing in via command 
> line, for example), you should then be able to run it simply from python (3 
> or 2) externally without loading the web2py app.
>
> That should overcome the bug. 
>
> HTH,
>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/764974e7-2ae2-4f6a-9141-2d0ba32fe3b6n%40googlegroups.com.

Reply via email to