Bad session handling can lead to performance issues

The reason is shortly explained in the PHP documentation for session_start() function here: http://php.net/manual/en/function.session-start.php#110649 Furthermore, you can read about it in the session_write_close() function reference page. How we found this? We had slow loading of some admin pages (Plugins, All Pages) in WordPress and every time P3 Profiler was pointing to a different plugin, but […]

Limiting access to (some) files in uploads dir

All you need to do is add a .htaccess file with the following content in your uploads dir:

If you want to limit just any file from being accessed from anyone, just use “./*” instead of the regular expression.