[GitHub] [incubator-pagespeed-ngx] benjaminadk commented on issue #1729: Changed IP then CSS files 404

2021-04-26 Thread GitBox


benjaminadk commented on issue #1729:
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1729#issuecomment-827040741


   So I finally got a 404 on the main CSS file today. One week since the last 
time it happened. I purged the cache and all is well. 


-- 
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:
us...@infra.apache.org




[GitHub] [incubator-pagespeed-ngx] benjaminadk commented on issue #1729: Changed IP then CSS files 404

2021-04-19 Thread GitBox


benjaminadk commented on issue #1729:
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1729#issuecomment-822366459


   yes. i put a Disallow on a couple css files for plugins. 


-- 
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:
us...@infra.apache.org




[GitHub] [incubator-pagespeed-ngx] benjaminadk commented on issue #1729: Changed IP then CSS files 404

2021-04-19 Thread GitBox


benjaminadk commented on issue #1729:
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1729#issuecomment-822198450


   @Lofesa, thanks for bringing these issues to my attention. I inherited this 
whole project and have no idea who wrote the code or set it all up. These 
issues aren't surprising, there have been many.
   
   I attempted to address the config issues:
   
   1 - I added  `SslCertDirectory /etc/ssl/certs` and I read the follow to mean 
I would not set `SslCertFile file;` on my VM.
   ```
   The default directory for Debian-based systems is /etc/ssl/certs, and there 
is no certificate file setting.
   ```
   
   2 & 3 - I commented out MapRewriteDomain, MapOriginDomain and ShardDomain.
   
   I will continue to monitor this issue.


-- 
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:
us...@infra.apache.org




[GitHub] [incubator-pagespeed-ngx] benjaminadk commented on issue #1729: Changed IP then CSS files 404

2021-04-10 Thread GitBox


benjaminadk commented on issue #1729:
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1729#issuecomment-817253413


   The issue persists. When I purge the cache everything runs fine for a couple 
days, then I start to get 404s again on some CSS files. If it happens to hit 
the main CSS it becomes a critical situation. I purge the cache a couple times 
and everything works again. 
   
   Here is our output from `?PageSpeedFilters=+debug`:
   https://gist.github.com/benjaminadk/75cbcaf8c0ab21541ade94de3120be79
   
   Here is our current config:
   
   ```nginx
   # ...
   
   # PageSpeed Admin
   pagespeed StatisticsPath /ngx_pagespeed_statistics;
   pagespeed GlobalStatisticsPath /ngx_pagespeed_global_statistics;
   pagespeed MessagesPath /ngx_pagespeed_message;
   pagespeed ConsolePath /pagespeed_console;
   pagespeed AdminPath /pagespeed_admin;
   pagespeed GlobalAdminPath /pagespeed_global_admin;
   pagespeed Statistics on;
   pagespeed StatisticsLogging on;
   
   # PageSpeed Cache Purge
   pagespeed EnableCachePurge on;
   pagespeed PurgeMethod PURGE;
   
   pagespeed MessageBufferSize 30;
   pagespeed FileCachePath /sites/ladesignconcepts.com/pagespeed-cache;
   pagespeed ForceCaching on;
   pagespeed FileCacheSizeKb102400;
   pagespeed FileCacheCleanIntervalMs   360;
   pagespeed FileCacheInodeLimit50;
   pagespeed SslCertDirectory /etc/ssl/certs;
   
   server {
 # ...
 
   # Pagespeed Config
   pagespeed on;
   
   location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {
   add_header "" "";
   }
   
   location ~ "^/pagespeed_static/" { }
   
   location ~ "^/ngx_pagespeed_beacon$" { }
   
   # Disable pagespeed WP Admin, Woo cart, etc
   pagespeed Disallow */wp-admin/*;
   pagespeed Disallow */cart/*;
   pagespeed Disallow */ideas/*;
   pagespeed Disallow */my-account/*;
   
   # PageSpeed Filters
   pagespeed RewriteLevel PassThrough;
   
   pagespeed EnableFilters add_head;
   pagespeed EnableFilters convert_meta_tags;
   pagespeed EnableFilters extend_cache;
   pagespeed EnableFilters rewrite_style_attributes_with_url;
   pagespeed EnableFilters inline_import_to_link;
   
   # HTML
   pagespeed EnableFilters insert_dns_prefetch;
   pagespeed EnableFilters collapse_whitespace,remove_comments;
   pagespeed EnableFilters canonicalize_javascript_libraries;
   pagespeed PreserveUrlRelativity on;
   pagespeed ImagePreserveURLs on;
   
   # CSS
   pagespeed EnableFilters combine_css;
   pagespeed EnableFilters fallback_rewrite_css_urls;
   pagespeed EnableFilters flatten_css_imports;
   pagespeed EnableFilters inline_css;
   pagespeed EnableFilters rewrite_css;
   
   # JS (Disabled)
   #pagespeed EnableFilters combine_javascript;
   #pagespeed EnableFilters inline_javascript;
   #pagespeed EnableFilters rewrite_javascript;
   
   # Images
   pagespeed EnableFilters sprite_images;
   pagespeed EnableFilters lazyload_images;
   
   # Images (Disabled)
   #inline_images,recompress_images,convert_to_webp_lossless,resize_images.
   #pagespeed EnableFilters rewrite_images;
   #pagespeed DisableFilters 
convert_jpeg_to_webp,convert_to_webp_lossless,convert_to_webp_animated,recompress_webp;
   #pagespeed EnableFilters 
responsive_images,resize_rendered_image_dimensions,resize_images,responsive_images_zoom;
   #pagespeed EnableFilters strip_image_meta_data,strip_image_color_profile;
   #pagespeed EnableFilters 
jpeg_subsampling,recompress_jpeg,recompress_png,;
   #pagespeed EnableFilters convert_png_to_jpeg,convert_gif_to_png;
   #pagespeed EnableFilters convert_jpeg_to_progressive;
   
   # Lazy Loading (Disabled)
   #pagespeed LazyloadImagesBlankUrl 
"https://www.gstatic.com/psa/static/1.gif;;
   
   # Prioritize (Disabled)
   #pagespeed EnableFilters defer_javascript;
   #pagespeed EnableFilters prioritize_critical_css;
   
   # Google Analytics Async
   pagespeed EnableFilters make_google_analytics_async;
   
   # Google Fonts
   pagespeed FetchHttps enable;
   pagespeed EnableFilters inline_google_font_css;
   
   # Domains
   pagespeed Domain https://ladesignconcepts.com;
   pagespeed Domain http*://*.ladesignconcepts.com;
   pagespeed MapRewriteDomain ladesignconcepts.com 
images.ladesignconcepts.com;
   pagespeed MapOriginDomain localhost ladesignconcepts.com;
   pagespeed ShardDomain https://images.ladesignconcepts.com 
https://ladesignconcepts.com;
   
   pagespeed MaxSegmentLength 250;
   
   # Memcached 
   pagespeed MemcachedThreads 1;
   pagespeed MemcachedServers "127.0.0.1:11211";
   }
   
   # ...
   ```
   
   


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

[GitHub] [incubator-pagespeed-ngx] benjaminadk commented on issue #1729: Changed IP then CSS files 404

2021-03-27 Thread GitBox


benjaminadk commented on issue #1729:
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1729#issuecomment-808752747


   I still haven't figured this out...granted I just now put the new IP live 
for the first time since my last post. I seems to randomly produce 404 errors 
for CSS files - but only some of them. 


-- 
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:
us...@infra.apache.org




[GitHub] [incubator-pagespeed-ngx] benjaminadk commented on issue #1729: Changed IP then CSS files 404

2021-02-23 Thread GitBox


benjaminadk commented on issue #1729:
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1729#issuecomment-784135494


   I am back trying to get our server up again. 
   
   [This is a gist with the output from `?PageSpeedFilters=+debug` 
](https://gist.github.com/benjaminadk/205e5fae50cfe54ea9ad2af73f3c8268)
   
   The configuration
   
   ![](https://benjaminadk.s3-us-west-1.amazonaws.com/ps-admin-config.jpg)
   
   PageSpeed appears to be partially working, with a couple CSS files not being 
found
   
   ![](https://benjaminadk.s3-us-west-1.amazonaws.com/ps-mixed-results.jpg)
   
   When I purge the cache:
   That initial reload looks fine as it is fetching the actual server resources.
   Then subsequent reloads w/o purging is almost like a crap shoot - sometimes 
all the CSS files are available, and other times some are 404 - and it is 
different files each time. Once in a while it is the main CSS file, which is 
catastrophic.
   
   The configuration is exactly the same on this new server as the current one. 
This new one has new versions of Ubuntu, PHP, Nginx, etc.



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:
us...@infra.apache.org




[GitHub] [incubator-pagespeed-ngx] benjaminadk commented on issue #1729: Changed IP then CSS files 404

2021-02-16 Thread GitBox


benjaminadk commented on issue #1729:
URL: 
https://github.com/apache/incubator-pagespeed-ngx/issues/1729#issuecomment-779779905


   It seemed to be working for a while tonight. CSS files were all being 
delivered. All I did was purge the cache a few times. Then I was switching 
between Google users (chrome instances) and then all CSS 404ed again.
   
   Could it have something to do with this session cookie?
   
   ```
   #this next part requires the more_clear_headers module - if nginx fails, 
remove this
   if ($skip_cache = 0 ) {
   more_clear_headers "Set-Cookie*";
   set $rt_session "";
   }
   ```
   
   This is the only thing I didn't install from the previous setup. Based on 
the comment I found I just skipped it.



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:
us...@infra.apache.org