Re: [WebDNA] mod_deflate and webdna
This WebDNA talk-list message is from 2017
It keeps the original formatting.
numero = 113665
interpreted = N
texte = 1260The mod_deflate does not involve WebDNA: it is purely a web server =matter. There is either a bug or the config is not the proper one, or =there is a trick to activate it with .dna files.- chris> On Aug 17, 2017, at 11:40, Noah Valley
wrote:>=20> Yes, as soon as I add "=E2=80=9C it does not work =(no matter if .dna or .html)=E2=80=A6> So I give up and try again in a few years=E2=80=A6>=20>=20>=20>> Am 15.08.2017 um 05:35 schrieb Stuart Tremain :>>=20>> Noah>>=20>> If you change the suffix on your .dna pages to .html do you get the =desired result ?>>=20>> Just change some of your dynamic pages to .html and see if they work, =if they do then the problem is in your settings, if they don=E2=80=99t =then you have answered your question about dynamic pages.>>=20>>=20>> Kind regards>>=20>> Stuart Tremain>> Pharoah Lane Software>> AUSTRALIA>> webdna@idfk.com.au>>=20>>=20>>=20>>=20>>=20>>=20>>> On 14 Aug 2017, at 19:30, Noah Valley wrote:>>>=20>>> Yes, we just went full circle.>>> Somehow mod_deflate does not make the server compress the .dna-files =but it compresses .html-files...>>>=20>>> "Either mod_deflate does not work with dynamic pages, or there's =still a bad configuration somewhere=E2=80=9C - exactly my original =question.>>> Can someone tell me if mod_deflate does not compress dynamic pages =or help me with my config? What am I missing?>>>=20>>> **********>>> server.modules =3D (>>> =E2=80=A6>>> =E2=80=9Emod_deflate=E2=80=9C,>>> ...>>> )>>>=20>>> ...>>>=20>>> mimetype.assign =3D (>>> =E2=80=A6>>> ".dna" =3D> "text/html",>>> =E2=80=A6>>> )>>>=20>>> =E2=80=A6>>>=20>>> deflate.mimetypes =3D ("text/html", "text/plain", "text/css", ="text/javascript", "text/xml")>>> deflate.allowed-encodings =3D ( "bzip2", "gzip", "deflate" )>>> deflate.max-compress-size =3D 131072>>> deflate.min-compress-size =3D 256>>> deflate.compression-level =3D 9>>> deflate.work-block-size =3D 2048>>>=20>>> **********>>>=20>>> Thanks...>>>=20>>>=20>>>> Am 09.08.2017 um 20:45 schrieb Kenneth Grome =:>>>>=20>>>>> ... both normal 200 response codes.>>>>=20>>>> My test did not produce a normal 200 response code for test.html.>>>> When I compared them, test.html sent these two GET headers which>>>> test.dna did not send:>>>>=20>>>> If-Modified-Since: Wed, 09 Aug 2017 13:31:36 GMT>>>> If-None-Match: "3057404114-gzip">>>>=20>>>> Also the HTTP header for test.html was:>>>>=20>>>> HTTP/1.1 304 Not Modified>>>>=20>>>> ... and these other response headers for test.html were absent>>>> from test.dna:>>>>=20>>>> Accept-Ranges: bytes>>>>=20>>>> Etag: "3057404114-gzip">>>>=20>>>> Last-Modified: Wed, 09 Aug 2017 13:31:36 GMT>>>>=20>>>> Vary: Accept-Encoding>>>>=20>>>> Bottom line: Either mod_deflate does not work with dynamic pages,>>>> or there's still a bad configuration somewhere.>>>>=20>>>> Regards,>>>> Kenneth Grome>>>> WebDNA Solutions>>>> http://www.webdnasolutions.com>>>> Web Database Systems and Linux Server Administration---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us.
Associated Messages, from the most recent to the oldest:
1260The mod_deflate does not involve WebDNA: it is purely a web server =matter. There is either a bug or the config is not the proper one, or =there is a trick to activate it with .dna files.- chris> On Aug 17, 2017, at 11:40, Noah Valley wrote:>=20> Yes, as soon as I add "=E2=80=9C it does not work =(no matter if .dna or .html)=E2=80=A6> So I give up and try again in a few years=E2=80=A6>=20>=20>=20>> Am 15.08.2017 um 05:35 schrieb Stuart Tremain :>>=20>> Noah>>=20>> If you change the suffix on your .dna pages to .html do you get the =desired result ?>>=20>> Just change some of your dynamic pages to .html and see if they work, =if they do then the problem is in your settings, if they don=E2=80=99t =then you have answered your question about dynamic pages.>>=20>>=20>> Kind regards>>=20>> Stuart Tremain>> Pharoah Lane Software>> AUSTRALIA>> webdna@idfk.com.au>>=20>>=20>>=20>>=20>>=20>>=20>>> On 14 Aug 2017, at 19:30, Noah Valley wrote:>>>=20>>> Yes, we just went full circle.>>> Somehow mod_deflate does not make the server compress the .dna-files =but it compresses .html-files...>>>=20>>> "Either mod_deflate does not work with dynamic pages, or there's =still a bad configuration somewhere=E2=80=9C - exactly my original =question.>>> Can someone tell me if mod_deflate does not compress dynamic pages =or help me with my config? What am I missing?>>>=20>>> **********>>> server.modules =3D (>>> =E2=80=A6>>> =E2=80=9Emod_deflate=E2=80=9C,>>> ...>>> )>>>=20>>> ...>>>=20>>> mimetype.assign =3D (>>> =E2=80=A6>>> ".dna" =3D> "text/html",>>> =E2=80=A6>>> )>>>=20>>> =E2=80=A6>>>=20>>> deflate.mimetypes =3D ("text/html", "text/plain", "text/css", ="text/javascript", "text/xml")>>> deflate.allowed-encodings =3D ( "bzip2", "gzip", "deflate" )>>> deflate.max-compress-size =3D 131072>>> deflate.min-compress-size =3D 256>>> deflate.compression-level =3D 9>>> deflate.work-block-size =3D 2048>>>=20>>> **********>>>=20>>> Thanks...>>>=20>>>=20>>>> Am 09.08.2017 um 20:45 schrieb Kenneth Grome =:>>>>=20>>>>> ... both normal 200 response codes.>>>>=20>>>> My test did not produce a normal 200 response code for test.html.>>>> When I compared them, test.html sent these two GET headers which>>>> test.dna did not send:>>>>=20>>>> If-Modified-Since: Wed, 09 Aug 2017 13:31:36 GMT>>>> If-None-Match: "3057404114-gzip">>>>=20>>>> Also the HTTP header for test.html was:>>>>=20>>>> HTTP/1.1 304 Not Modified>>>>=20>>>> ... and these other response headers for test.html were absent>>>> from test.dna:>>>>=20>>>> Accept-Ranges: bytes>>>>=20>>>> Etag: "3057404114-gzip">>>>=20>>>> Last-Modified: Wed, 09 Aug 2017 13:31:36 GMT>>>>=20>>>> Vary: Accept-Encoding>>>>=20>>>> Bottom line: Either mod_deflate does not work with dynamic pages,>>>> or there's still a bad configuration somewhere.>>>>=20>>>> Regards,>>>> Kenneth Grome>>>> WebDNA Solutions>>>> http://www.webdnasolutions.com>>>> Web Database Systems and Linux Server Administration---------------------------------------------------------This message is sent to you because you are subscribed tothe mailing list talk@webdna.usTo unsubscribe, E-mail to: talk-leave@webdna.usarchives: http://www.webdna.us/page.dna?numero=3D55Bug Reporting: support@webdna.us.
christophe.billiottet@webdna.us
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCommerce: Folder organization ? (1997)
Locking up with WebCatalog... (1997)
What is WebDNA (1997)
Cart -> Date and Time (2004)
Configuring E-mail (1997)
SendMail - Idea (2000)
Cookie and Domain Names (2005)
ListFiles and .DS_Store (2004)
problems with 2 tags shakur (1997)
NY State Zip Codes & Tax percent (2002)
Three new problems, maybe a fourth (1997)
Spamming this list! (2000)
[format 40s]text[/format] doesn't work (1997)
Getting total number of items ordered (1997)
Cold Fusion Buster (1997)
Resolving variables into field names (1998)
Frames and WebCat (1997)
any suggestions for creating a multi-lingual site? (1999)
Generating unique SKU from [cart] - Still Stumped... (1997)
[delete] problem (1997)