Denis Ryabov
Forum Replies Created
-
“Support badge” may be disabled in Advanced settings tab. We ask about displaying this support badge in the popup window displayed when you open PageSpeed Ninja settings page first time, and note that by default it is DISABLED, so it was your choice to enable this badge.
@dendik Можете написать мне на dryabov@yandex.ru? (чтобы не выносить на публику детали реализации сайта)
The “Non-blocking Javascript” option executes javascripts after the page is loaded, and so some javascripts are not compatible with this mode. We will try to implement a kind of exclusion list for this feature, but unfortunately it is not something that we can do in a short time.
Thank you! Usually cache size starts to grow if your webpages contain unique embedded javascript or css stylesheet (so that every page results in unique set of scripts to merge/optimize). In this case it’s recommended to disable “Minify CSS/Merge embedded styles” and “Minify JavaScript/Merge embedded scripts” options in the Advanced settings tab.
It looks like there is a bug in processing of <script> tag located before </body>. I’ll try to reproduce the issue locally to find a way to fix it.
In theory, deactivation of plugin cannot affect website work (WordPress doesn’t execute deactivate plugins at all). The only possibility is a caching conflict (with either browser’s cache, or 3rdparty caching plugin, or webserver’s caching, etc.). There were a similar issue reported recently in Support forum (see https://wordpress.org/support/topic/site-wont-load-after-uninstallation/), but no details provided to reproduce and fix the issue. What webserver do you use (Nginx/Apache/…)? And do you have other caching or optimizing plugins installed?
Do you have “Caching” disabled in the “Reduce server response time” section of Advanced settings of PageSpeed Ninja? If it is enabled, disable it and save settings, and then update settings of WP Super Cache (maybe it will be sufficient to just deactivate and activate it again).
PageSpeed Ninja plugin doesn’t use WPCACHEHOME constant, so I don’t know how it may be related to the plugin activation. Do you use other caching plugins on your website?
Hmm, PageSpeed Ninja shouldn’t affect website in such a way. What is URL of your website? What error do you get (blank screen, login form is not processed, or something else)?
А какой плагин редиректа используется?
> Так а в каком режиме лучше запускать?
В любом (как правило Optimal вполне достаточно). Просто после выбора режима отдельно отключите Above-the-fold CSS перед сохранением настроек.
Попробуйте отключить Above-the-fold CSS стили в настройках плагина (Advanced / Eliminate render-blocking JavaScript and CSS in above-the-fold content).
Какое-то странное поведение. Я знаю, что иногда добавление новой записи приводит к не совсем корректным Above-the-fold CSS стилям (они регенерируются раз в сутки), но это в худшем случае приводит к подергиванию в момент загрузки полных CSS стилей.
Можете дать ссылку на сайт?
> So it seems like the malware scanner is quite a bit overprotective, right?
Usually it gives you hints that should be checked manually. Such scanners are not AI and unable to reliably distinguish between valid and dangerous codes (scanners are just based on some heuristics), so false positives are possible, but as you are “not that good in php”, it’s better to trust scanners than to don’t trust.
class-pagespeedninja-public.php uses modification time (via PHP’s filemtime function) of pagecache.stamp file to know when to start clearing the cache directory.
ress/classes/helper.php contains encode and decode functions (wrappers on top of gzdeflate/gzinflate) that were used in the past for another project (based on our RESS framework), and currently are kept for backward compatibility only. PageSpeed Ninja doesn’t use them.
Anyway, PageSpeed Ninja is open source, so that you can check it yourself.