->Build and install using make and make install.->Added the plugin entry in plugin.conf->Mentioned the cache/log files (with 777 permissions too)->i can see plugin is being loaded when i start ATS.
curl -i http://local_server_ip/combine_css.html --proxy "ats_proxy_ip"
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/df777ee6-9595-4f34-8a5b-2f74a366ca04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
kapil.kumar@kapilkumar-ubuntu:~$ sudo /opt/ts/bin/traffic_servertraffic_server: using root directory '/opt/ts'[May 3 18:02:22.224] Server {0x7f17921bf780} DIAG: (ats-speed) [ats_pagespeed 1.9.32.3-4448] No threading detected. Own threads: 1 Rewrite, 1 Expensive Rewrite.[May 3 18:02:22.224] Server {0x7f17921bf780} DIAG: (ats-speed) [ats_pagespeed 1.9.32.3-4448] global default options:[Version: 13: onFiltersah Add Headcc Combine Cssjc Combine Javascriptgp Convert Gif to Pngjp Convert Jpeg to Progressivejw Convert Jpeg To Webpmc Convert Meta Tagspj Convert Png to Jpegec Cache Extend Cssei Cache Extend Imageses Cache Extend Scriptsfc Fallback Rewrite Cssif Flatten CSS Importshw Flushes htmlci Inline Cssii Inline Imagesil Inline @import to Linkji Inline Javascriptjs Jpeg Subsamplingrj Recompress Jpegrp Recompress Pngrw Recompress Webpri Resize Imagescf Rewrite Cssjm Rewrite External Javascriptjj Rewrite Inline Javascriptcu Rewrite Style Attributes With Urlcp Strip Image Color Profilesmd Strip Image Meta DataOptionsAvoidRenamingIntrospectiveJavascript (aris) TrueBeaconUrl (bu) /home/kapil.kumar/Desktop/CAB/tmp/ats_pagespeed_beaconEnableRewriting (e) 1FileCacheCleanIntervalMs (afcci) 500000FileCachePath (afcp) /home/kapil.kumar/Desktop/CAB/tmp/ats_ps/FlushHtml (fh) TrueLogDir (ald) /home/kapil.kumar/Desktop/CAB/tmp/ps_log/LRUCacheByteLimit (alcb) 10240000LRUCacheKbPerProcess (alcp) 163840RateLimitBackgroundFetches (rlbf) TrueRewriteLevel (l) Core FiltersStatisticsLogging (asle) TrueStatisticsLoggingIntervalMs (asli) 512000Domain LawyerInvalidation Timestamp: (none)][May 3 18:02:22.224] Server {0x7f17921bf780} DIAG: (ats-speed) [ats_pagespeed 1.9.32.3-4448] server ctx default options:[Version: 13: onFiltersah Add Headcc Combine Cssjc Combine Javascriptgp Convert Gif to Pngjp Convert Jpeg to Progressivejw Convert Jpeg To Webpmc Convert Meta Tagspj Convert Png to Jpegec Cache Extend Cssei Cache Extend Imageses Cache Extend Scriptsfc Fallback Rewrite Cssif Flatten CSS Importshw Flushes htmlci Inline Cssii Inline Imagesil Inline @import to Linkji Inline Javascriptjs Jpeg Subsamplingrj Recompress Jpegrp Recompress Pngrw Recompress Webpri Resize Imagescf Rewrite Cssjm Rewrite External Javascriptjj Rewrite Inline Javascriptcu Rewrite Style Attributes With Urlcp Strip Image Color Profilesmd Strip Image Meta DataOptionsAvoidRenamingIntrospectiveJavascript (aris) TrueBeaconUrl (bu) /home/kapil.kumar/Desktop/CAB/tmp/ats_pagespeed_beaconEnableRewriting (e) 1FileCacheCleanIntervalMs (afcci) 500000FileCachePath (afcp) /home/kapil.kumar/Desktop/CAB/tmp/ats_ps/FlushHtml (fh) TrueLogDir (ald) /home/kapil.kumar/Desktop/CAB/tmp/ps_log/LRUCacheByteLimit (alcb) 10240000LRUCacheKbPerProcess (alcp) 163840RateLimitBackgroundFetches (rlbf) TrueRewriteLevel (l) Core FiltersStatisticsLogging (asle) TrueStatisticsLoggingIntervalMs (asli) 512000Domain LawyerInvalidation Timestamp: (none)][May 3 18:02:22.234] Server {0x7f17921bf780} DIAG: (ats-speed) [ats_pagespeed 1.9.32.3-4448] SharedMemCache: pagespeed_default_shm/metadata_cache, sectors = 128, entries/sector = 2226, 64-byte blocks/sector = 4452, total footprint: 52445184[May 3 18:02:22.234] Server {0x7f17921bf780} DIAG: (ats-speed) [ats_pagespeed 1.9.32.3-4448] Initializing shared memory for path: /home/kapil.kumar/Desktop/CAB/tmp/ats_ps/.[May 3 18:02:22.235] Server {0x7f17921bf780} DIAG: (ats-speed) [ats_pagespeed 1.9.32.3-4448] Reusing shared memory for path: /home/kapil.kumar/Desktop/CAB/tmp/ats_ps/.[May 3 18:02:22.236] Server {0x7f17921bf780} DIAG: (ats_pagespeed) Created new QueuedWorkerPool of type 0 named 'html' of size 8[May 3 18:02:22.236] Server {0x7f17921bf780} DIAG: (ats_pagespeed) Created new QueuedWorkerPool of type 1 named 'rewrite' of size 8[May 3 18:02:22.236] Server {0x7f17921bf780} DIAG: (ats_pagespeed) Created new QueuedWorkerPool of type 2 named 'slow_rewrite' of size 8[May 3 18:02:22.236] Server {0x7f17921bf780} DIAG: (ats-speed) [ats_pagespeed 1.9.32.3-4448] Process context constructedparse [/home/kapil.kumar/Desktop/CAB/tmp/psol/pagespeed.conf]Update configuration[May 3 18:02:22.237] Server {0x7f17921bf780} DIAG: (ats-speed) [ats_pagespeed 1.9.32.3-4448] TSPluginInit OK
kapil.kumar@kapilkumar-ubuntu:~/Desktop/CAB/mod_pagespeed/src$ curl -I http://107.109.155.97/combine_css.html --proxy 107.109.153.156:8080HTTP/1.1 200 OKDate: Tue, 03 May 2016 12:30:31 GMTServer: ATS/6.1.1Last-Modified: Tue, 03 May 2016 09:56:48 GMTETag: "e095d-1b3-531ed20ad7bde"Accept-Ranges: bytesContent-Length: 435Content-Type: text/html; charset=UTF-8Cache-Control: public, max-age=3600Age: 122Proxy-Connection: keep-alive
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
First request logs
[May 3 18:24:36.979] Server {0x7f178d6d8700} DIAG: (ats-speed) static asset prefix: /pagespeed_static/[May 3 18:24:36.980] Server {0x7f178d6d8700} DIAG: (ats-speed) [ats_pagespeed 1.9.32.3-4448] Trying to serve rewritten resource in-place: http://107.109.155.97/rewrite_images.html[May 3 18:24:36.991] Server {0x7f178d6d8700} DIAG: (ats_pagespeed_transform) Will optimize [http://107.109.155.97/rewrite_images.html][May 3 18:24:36.991] Server {0x7f178d6d8700} DIAG: (ats-speed) transform added[May 3 18:24:36.993] Server {0x7f177b964700} DIAG: (ats-speed) [ats_pagespeed 1.9.32.3-4448] Cache entry is expired: http://107.109.155.97/rewrite_images.html (fragment=foo.com)[May 3 18:24:36.993] Server {0x7f177b964700} DIAG: (ats-speed-vlog) [1.9.32.3-4448] [0503/182436:VERBOSE1:cache_url_async_fetcher.cc(345)] Did not find in cache: http://107.109.155.97/rewrite_images.html (foo.com)[May 3 18:24:36.993] Server {0x7f177b964700} DIAG: (ats-speed) HeadersComplete()![May 3 18:24:36.993] Server {0x7f177b964700} DIAG: (ats-speed) ipro forwarddata: HTTP/1.0 501 (null)Connection: Close[May 3 18:24:36.993] Server {0x7f177b964700} DIAG: (ats-speed) ipro lookup base fetch done()[May 3 18:24:36.993] Server {0x7f177b964700} DIAG: (ats-speed) ipro lookup base fetch -> not found in cache[May 3 18:24:37.004] Server {0x7f178d4d6700} DIAG: (ats-speed) ats_pagespeed_transform()[May 3 18:24:37.004] Server {0x7f178d4d6700} DIAG: (ats-speed) [ats_pagespeed 1.9.32.3-4448] request options found[May 3 18:24:37.005] Server {0x7f178d4d6700} DIAG: (ats-speed) [ats_pagespeed 1.9.32.3-4448] request options:
FlushHtml (fh) TrueLogDir (ald) /home/kapil.kumar/Desktop/CAB/tmp/ps_log/LRUCacheByteLimit (alcb) 10240000LRUCacheKbPerProcess (alcp) 163840RateLimitBackgroundFetches (rlbf) TrueRewriteLevel (l) Core FiltersStatisticsLogging (asle) TrueStatisticsLoggingIntervalMs (asli) 512000Domain LawyerInvalidation Timestamp: (none)]
[May 3 18:24:37.006] Server {0x7f178d4d6700} DIAG: (ats-speed-vlog) [1.9.32.3-4448] [0503/182437:VERBOSE1:proxy_fetch.cc(550)] Attaching RewriteDriver 0x7f174c00cea0 to HtmlRewriter 0x7f174c0133a0[May 3 18:24:37.007] Server {0x7f178d4d6700} DIAG: (ats-speed) proxy fetch finished[May 3 18:24:37.007] Server {0x7f178d4d6700} DIAG: (ats-speed) HeadersComplete()![May 3 18:24:37.007] Server {0x7f178d4d6700} DIAG: (ats-speed-vlog) [1.9.32.3-4448] [0503/182437:VERBOSE1:proxy_fetch.cc(990)] Fetch result:1 http://107.109.155.97/rewrite_images.html : 200[May 3 18:24:37.007] Server {0x7f178d4d6700} DIAG: (ats-speed) Done()![May 3 18:24:37.017] Server {0x7f178dee0700} DIAG: (ats-speed) ats_pagespeed_transform()[May 3 18:24:37.038] Server {0x7f178dcde700} DIAG: (ats-speed) ats_pagespeed_transform()second request logs when no header was observed[May 3 18:24:51.722] Server {0x7f178dbdd700} DIAG: (ats-speed) static asset prefix: /pagespeed_static/[May 3 18:24:51.723] Server {0x7f178dbdd700} DIAG: (ats-speed) [ats_pagespeed 1.9.32.3-4448] Trying to serve rewritten resource in-place: http://107.109.155.97/rewrite_images.html[May 3 18:24:51.723] Server {0x7f178dbdd700} DIAG: (ats_pagespeed_transform) Will optimize [http://107.109.155.97/rewrite_images.html][May 3 18:24:51.723] Server {0x7f178dbdd700} DIAG: (ats-speed) transform added[May 3 18:24:51.723] Server {0x7f178dadc700} DIAG: (ats-speed) ats_pagespeed_transform()
here are respective curl's output:
kapil.kumar@kapilkumar-ubuntu:~/Desktop/CAB/mod_pagespeed/src$ curl -I http://107.109.155.97/rewrite_images.html --proxy 107.109.153.156:8080HTTP/1.1 200 OKDate: Tue, 03 May 2016 12:54:36 GMTServer: Apache/2.2.15 (CentOS)
Last-Modified: Tue, 03 May 2016 09:56:48 GMT
ETag: "e099f-30b-531ed20ad7fc6"Accept-Ranges: bytesContent-Type: text/html; charset=UTF-8Cache-Control: max-age=3600Content-Length: 0Age: 1Proxy-Connection: keep-aliveX-Page-Speed: 1.9.32.3-4448kapil.kumar@kapilkumar-ubuntu:~/Desktop/CAB/mod_pagespeed/src$ curl -I http://107.109.155.97/rewrite_images.html --proxy 107.109.153.156:8080HTTP/1.1 200 OKDate: Tue, 03 May 2016 12:54:36 GMT
Server: ATS/6.1.1Last-Modified: Tue, 03 May 2016 09:56:48 GMT
ETag: "e099f-30b-531ed20ad7fc6"Accept-Ranges: bytesContent-Length: 779
Content-Type: text/html; charset=UTF-8Cache-Control: public, max-age=3600
Age: 15Proxy-Connection: keep-alivekapil.kumar@kapilkumar-ubuntu:~/Desktop/CAB/mod_pagespeed/src$
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/df777ee6-9595-4f34-8a5b-2f74a366ca04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/64bfb882-37e3-47d6-aae5-542eed8bcc84%40googlegroups.com.To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
kapil.kumar@kapilkumar-ubuntu:~/Desktop/CAB/mod_pagespeed/src$ curl -I http://107.109.155.97/outline_css.htmlHTTP/1.1 200 OKDate: Tue, 03 May 2016 13:33:01 GMTServer: Apache/2.2.15 (CentOS)Accept-Ranges: bytesX-Mod-Pagespeed: 1.9.32.14-0Vary: Accept-EncodingCache-Control: max-age=0, no-cacheContent-Length: 4442Connection: closeContent-Type: text/html; charset=UTF-8
kapil.kumar@kapilkumar-ubuntu:~/Desktop/CAB/mod_pagespeed/src$ curl -I http://107.109.155.97/outline_css.html --proxy 107.109.153.156:8080HTTP/1.1 200 OKDate: Tue, 03 May 2016 13:32:47 GMT
Server: ATS/6.1.1Last-Modified: Tue, 03 May 2016 09:56:48 GMT
ETag: "e0995-15c4-531ed20ad7fc6"
Accept-Ranges: bytesContent-Type: text/html; charset=UTF-8
Cache-Control: public, max-age=3600Age: 0Proxy-Connection: keep-alivekapil.kumar@kapilkumar-ubuntu:~/Desktop/CAB/mod_pagespeed/src$kapil.kumar@kapilkumar-ubuntu:~/Desktop/CAB/mod_pagespeed/src$ curl -I http://107.109.155.97/outline_css.html --proxy 107.109.153.156:8080HTTP/1.1 200 OKDate: Tue, 03 May 2016 13:32:49 GMT
Server: Apache/2.2.15 (CentOS)Last-Modified: Tue, 03 May 2016 09:56:48 GMT
ETag: "e0995-15c4-531ed20ad7fc6"
Accept-Ranges: bytesContent-Type: text/html; charset=UTF-8Cache-Control: max-age=3600Content-Length: 0
Age: 0Proxy-Connection: keep-aliveX-Page-Speed: 1.9.32.3-4448
kapil.kumar@kapilkumar-ubuntu:~/Desktop/CAB/mod_pagespeed/src$ curl -I http://107.109.155.97/outline_css.html --proxy 107.109.153.156:8080HTTP/1.1 200 OKDate: Tue, 03 May 2016 13:34:52 GMT
Server: ATS/6.1.1Last-Modified: Tue, 03 May 2016 09:56:48 GMT
ETag: "e0995-15c4-531ed20ad7fc6"Accept-Ranges: bytesContent-Length: 5572
Content-Type: text/html; charset=UTF-8Cache-Control: public, max-age=3600
Age: 2 (i see this is changing now)Proxy-Connection: keep-alive
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/df777ee6-9595-4f34-8a5b-2f74a366ca04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/df777ee6-9595-4f34-8a5b-2f74a366ca04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/64bfb882-37e3-47d6-aae5-542eed8bcc84%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/a635c7f4-1bdd-4495-8585-0af8d32d8def%40googlegroups.com.To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/df777ee6-9595-4f34-8a5b-2f74a366ca04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/64bfb882-37e3-47d6-aae5-542eed8bcc84%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
Header unset ETagFileETag NoneHeader unset Last-Modified
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/df777ee6-9595-4f34-8a5b-2f74a366ca04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
...
-I am curious to know if its a bug in the plugin or problem in my test setup ?
-Will this plugin works with ATS running in non-forward proxy mode ?
pagespeed EnableFilters debug
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/1148703a-8ec5-4f38-bbd1-18f610a846b7%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
Is there any open link for testing ? (which show before/after output)
[May 5 15:49:39.440] Server {0x7f62f6bfb700} DIAG: (ats-speed) [ats_pagespeed 1.8.31.4-4009] HTTPCache key=http://107.109.155.97/styles/yellow.css fragment=foo.com: remembering not-found status for 299 seconds.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/27adea66-8281-4e2f-a62b-0c7a016ed3bb%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
Can you please suggest other debugging point to see why subresources are not getting transformed ?
107.109.153.156 - - [06/May/2016:10:47:06 +0530] "GET /css.html HTTP/1.1" 200 571 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0"107.109.153.156 - - [06/May/2016:10:47:06 +0530] "GET /yellow.css HTTP/1.1" 200 36 "http://107.108.50.106/css.html" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0"107.109.153.156 - - [06/May/2016:10:47:06 +0530] "GET /blue.css HTTP/1.1" 200 21 "http://107.108.50.106/css.html" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0"107.109.153.156 - - [06/May/2016:10:47:06 +0530] "GET /big.css HTTP/1.1" 200 4307 "http://107.108.50.106/css.html" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0"107.109.153.156 - - [06/May/2016:10:47:06 +0530] "GET /bold.css HTTP/1.1" 200 31 "http://107.108.50.106/css.html" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0"107.109.153.156 - - [06/May/2016:10:47:06 +0530] "GET /favicon.ico HTTP/1.1" 200 30894 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0"
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-di...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/f55badc0-3e2b-478a-8f20-3fc7d1341c31%40googlegroups.com.
pagespeed MapOriginDomain http://107.108.50.106 http://107.108.50.106
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.