Denis Ryabov
Forum Replies Created
-
Try to disable “Above-the-fold CSS” option in the “Eliminate render-blocking JavaScript and CSS in above-the-fold content” section on Advanced settings tab. Elementor generates some css styles dynamically, and it may conflict with static above-the-fold css styles. For the same reason, I’d recommend to disable “Merge embedded styles” option in the “Minify CSS” section.
А у вас кэширование в плагине включено (Caching в разделе Reduce server response time во вкладке Advanced)? Если выключено, то плагин никак не должен вмешиваться в эти заголовки. Если включено, то вместо WordPress’овских он использует свои значения для заголовка ETag и игнорирует Last-Modified (возможно, тут и проблема – этот заголовок может быть сгенерирован WordPress, но кэширование в плагине его не использует и полагается на ETag/If-None-Match).
Hmm, If-Modified-Since is sent by client, not by server. Do you mean just a Last-Modified header? Or 304 response code for If-Modified-Since request?
Do you have the same issue in other browsers? I’m not sure, but now it looks like the issue is in partial loading of the Montserrat font from Google Fonts server. Could you check status of fonts loading at the Network tab of Dev Tools. Do you have a local font named ‘Montserrat’ on your computer?
From that code it’s hard to find what the plugin it come from (AFAIK many plugins use flattr and may result in such an error, e.g. see https://theeventscalendar.com/support/forums/topic/conflict-with-ssl-preventing-widget-editing/). You could try to:
1) search for “api.flattr.com” (w/o quotes) in all files of wp-content/plugins directory,
2) or disable plugins one-by-one and re-check how it affects PSN settings page.No, it’s line #130 of generated html code, not of source php code. Could you open html page sources (Ctrl+U), scroll to line #130, and take a screenshot of lines around that line?
What plugin loads api.flattr.com insecurely (see browser’s console)? Try to temporary disable it and open PSN settings again.
From the screenshot it looks like the issue is somehow related to partial loading of Google fonts (font-weight 400 is loaded, and 300 isn’t loaded). Could you check settings page loading in another browser?
Hmm, it’s quite a strange screenshot. If possible, could you send me (hello@pagespeed.ninja) credentials to access admin area of your website to look at the issue from the inside? Otherwise, could you open browser’s Dev Tools (F12 in most browsers), switch to Console tab there, reload the page, and check what error/warning messages are there in the browser’s console?
Yes, /s directory is created by PageSpeed Ninja (see “Static files directory” settings in the Advanced settings tab). It is used to store merged/minified/downloaded files and to have a short URL to refer. The f.php file is used to set appropriate HTTP headers in the “Distribute method: PHP” mode (and be sure it doesn’t allow to download files outside of /s directory).
Try to refresh PSN settings page (to be sure, wait few minutes from the previous check).
There may be two reasons to get such a result:
1. Google’s PageSpeed score may vary time-to-time (e.g. depending on network load), but usually it is +/-5 points only.
2. PSN caches previous scores in browser’s local storage (to don’t flood Google’s server). There is no known issue in this cache implementation, but theoretically it may be that there is a bug that reset result to previous value.
And finally, it may be that PSN functionality has been disabled due to a conflict with other plugin or another reason.
Hmm, the website seems to work well in Mobile Safari on iOS 13.2 and 13.3.1 (tested with subsequent requests, requesting desktop and mobile versions, after closing Safari, after device reboot). Maybe it is something specific to your phone settings. Could you try to check it using another WiFi/mobile network? Do you have another iOS device to test?
Do you test it in different browsers on the same computer?
What webserver do you use (Apache/Nginx/etc)?
Could you post or send us (hello@pagespeed.ninja) URL of your website?Hmm, do you have error messages in the error_log file that may be related to PSN?
Yes, you can safely delete files in /s dated older than time of the last PSN’s cache clearing. To be sure, clear cache again after this operation.
Try to set Caching time-to-live (see “Reduce server response time” section in the Advanced settings tab) to 1 minute, remove wp-content/plugins/psn-pagespeed-ninja/cache/filecachecleaner.stamp file, and then clear cache again. For safety, PSN keeps files /s directory for 2x of “Caching time-to-live” time.