Denis Ryabov
Forum Replies Created
-
What??? The only thing that affect the database is creation of AMDD table (a mobile device database used to optionally rescale images to fit mobile screen size). And it creates folder /s in the root of website to store minified js/css files and loaded external js/css/image files (if enabled in settings). But sure it doesn’t contain viruses or any malicious codes.
Switching off “Above-the-fold CSS” disabled other related options automatically.
And it was just a guess. I frequently see templates with dynamically-generated CSS styles on the page, and they conflict with the “Above-the-fold CSS” feature. Not sure it’s your case, but symptom—incorrect styles of the top part of the page—is very similar.
@carodavies I guess it may be related to the Above-the-fold CSS. Try to disable it (in the “Eliminate render-blocking JavaScript and CSS in above-the-fold content” section of Advanced settings tab).
Do you use a special theme mobile visitors? If not, there are just a couple of options that may work differently in desktop and mobile version: “Minify CSS Method” (in the case of RESS minifier used) and “Scale large images”. Try to set the former to “CSS Tidy” or “None”, and the latter to “None”.
It’s known issue in CSS Tidy library. We have developed a custom CSS optimizer for PSN 0.10 (it works much faster than CSS Tidy), but it will take months for v0.10 to be released, so maybe we will try to fix it and release an intermediary 0.9.x release.
There is no way to exclude a single page from PSN settings, but it’s possible to do using theme’s
functions.php
file, something likeif ($_SERVER['REQUEST_URI'] === '/path/to/match' && !defined('DONOTMINIFY')) { define('DONOTMINIFY', true); }
(where
/path/to/match
is URL of the page that shouldn’t be optimized by PSN).Which HTML Parser do you use (you can find it in the Advanced settings tab)? Try to change it.
Could contact me via [email protected]? I’ll send you a patched version of cache cleaner file with extra logging (to find where it fails).
> it no longer shows a menu in the settings
It works well on other websites that I have access to. Is plugin activated? Try to deactivate/activate it. Do you have warnings/notices in the error_log file that might be related to the issue?
Try to found which script results in this issue and exclude it from optimization (see “Manage Javascript URLs” in the Troubleshooting section of the Advanced settings tab). Most likely menu should be handled by one of local scripts (maybe /wp-content/themes/neve/assets/js/build/modern/frontend.js).
To be sure, could you check that wp-contents/plugins/psn-pagespeed-ninja directory has been removed?
Then, most likely, either the problem is not related to PSN, or you have a 3rdparty caching layer (plugin, webserver caching, or caching frontend proxy) that cached old content.
Yes, you can.
The psninja_urls is in the database, use phpMyAdmin or other tool provided by your hoster to found it and drop. Anyway, this table itself doesn’t affect work of WordPress.
Yes, it is used to store optimized js and css files. But uninstalling of PSN should drop it automatically. It looks like uninstalling was terminated abnormally on your website. You can also check that [wpprefix]psninja_urls table has been dropped from the database.
Deactivating and uninstalling should be sufficient. Additionally you can check that:
1) wp-content/advanced-cache.php is not generated by PSN (i.e. it is either doesn’t exist or related to other caching plugin)
2) PSN-related snippets are removed from .htaccess files in wp-includes, wp-content, and uploads.