Search max_children erros in PHP Log – error.log grep -r “server reached max_children setting” /var/log/*php*-fpm/error.log | cut -d’ ‘ -f5 | tr -d ‘]’ | sort | uniq -c | sort -nr Plesk check PHP: pm.max_children for varioius websites find /opt/plesk/php/ -type f -name “*.conf” -exec grep –color -Hni “pm.max_children =” {} \; Make cron … Read More “PHP FPM modification – Plesk” »
The preload value of the <link> element’s rel attribute lets you declare fetch requests in the HTML’s <head> , specifying resources that your page will need very soon, which you want to start loading early in the page lifecycle, before browsers’ main rendering. Following are different content types can be preloaded. The possible as attribute … Read More “HTML: Link rel – Preload” »
HTML | <a> rel Attribute The “rel” attribute specifies the relationship between the current document and the linked document/content. Only used if the “href” attribute is present. Syntax: <a rel=”value”> Search engines may also use the information in the “rel” attribute to determine how to index or display the page. Value Description alternate … Read More “HTML: Attributes of rel” »
Following are the list of Linux commands and scripts, which will be helpful in managing and debugging network and bandwidth: arpwatch – Ethernet Activity Monitor. bmon – bandwidth monitor and rate estimator. bwm-ng – live network bandwidth monitor. curl – transferring data with URLs. (or try httpie) darkstat – captures network traffic, usage statistics. dhclient … Read More “Linux Commands” »
List of Security HTTP Headers: X-Frame-Options: // Raw header X-Frame-Options: sameorigin // How to send the response header with PHP header(“X-Frame-Options: sameorigin”); // How to send the response header with Apache (.htaccess) Header set X-Frame-Options “sameorigin” // How to send the response header with Express.js app.use(function(req, res, next) { res.header(“X-Frame-Options”, “sameorigin”); next(); }); X-XSS-Protection // … Read More “Security HTTP Headers” »