From dev-return-3063-archive-asf-public=cust-asf.ponee.io@pagespeed.apache.org Tue Mar 3 10:34:29 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 6CA3518063D for ; Tue, 3 Mar 2020 11:34:29 +0100 (CET) Received: (qmail 20771 invoked by uid 500); 3 Mar 2020 10:34:28 -0000 Mailing-List: contact dev-help@pagespeed.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pagespeed.apache.org Delivered-To: mailing list dev@pagespeed.apache.org Received: (qmail 20759 invoked by uid 99); 3 Mar 2020 10:34:28 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2020 10:34:28 +0000 From: GitBox To: dev@pagespeed.apache.org Subject: [GitHub] [incubator-pagespeed-ngx] Lofesa edited a comment on issue #1681: Uncacheable content, preventing rewriting of image Message-ID: <158323166875.7016.25683804997954985.gitbox@gitbox.apache.org> References: In-Reply-To: Date: Tue, 03 Mar 2020 10:34:28 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Lofesa edited a comment on issue #1681: Uncacheable content, preventing rewriting of image URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1681#issuecomment-593879105 Hi The s-maxage is a transient header. The resource is not optimized yet, so must not be stored in any intermediate cache for more than 10 sec. I have trouble debuging your site, when I put https://www.weedstreet420.com/?PageSpeedFilters=+debug (note the + sign) the site enter in an infinite loop. Can you try to set `ModPagespeedSupportNoScriptEnabled false` In other hand, all the images are served with a `cache-control: nostore, nocache` . I don´t know if these header is set by your origin server or by clodflare.... can you instruct cloudflare to respect origin headers? In developer mode clodflare is set to DYNAMIC, this mode don´t send the assets stored in their cache but do all the magic with header and other optimizations you set in cloudflare. The better way to eliminate cloudflare in the debug path is putting all in grey in the dns section. In this way, cloudflare do nothing and the request are served directly from the origin webserver. As you can see in the image no filters are enabled, and no debug messages are set in the html cod, only the bottom stuff. When I try to enable any filter in the url, get and infinite loop, s can´t test it. (To enable a filter with the url https://www.weedstreet420.com/?PageSpeedFilters=+rewrite_images . The + sign enables it and the - sign disables) ![tempsnip](https://user-images.githubusercontent.com/22342793/75766822-06b56f80-5d42-11ea-84b8-ce984819be9e.jpg) EDIT: Clear the cloudflare cache. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services