How to Optimize WordPress Website without Plugin (Lite-Speed)




Geniuswp show

Summary: Optimize WordPress Website without plugin is latest technology. This methods works with Lite-Speed web server only. If your hosting provider supports Lite-Speed web server, you don’t have to worry about your website optimization.This tutorial is not generally for wordpress but this will works with any website runs on Lite-Speed web server.You may use several plugins to boost-up your website, but using plugins will slow down your website. If you are a WordPress user, you must consider to use less plugins to your website. Plugins may resolve your problem without having technical knowledge but your website may suffer performance issues.Check below how Lite-Speed boost-up your website compare to any types of server.The above chart shows how your website runs faster with Lite-Speed technology. You may get several plugins from WordPress to speed-up your website. Here is one of them:Lite-Speed Cache WordPress Pluginwill do the work very well. But if you edit your htaccess file and add some code into this, you don’t need any plugins for that. Check the below code and add it to your htacess file.Code to Optimize WordPress Website Without Plugin SetOutputFilter DEFLATE # Netscape 4.x has some problems... BrowserMatch ^Mozilla/4 gzip-only-text/html# Netscape 4.06-4.08 have some more problems BrowserMatch ^Mozilla/4\.0[678] no-gzip# MSIE masquerades as Netscape, but it is fine # BrowserMatch \bMSIE !no-gzip !gzip-only-text/html# NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48 # the above regex won't work. You can use the following # workaround to get the desired effect: BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html# Don't compress images SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary # Make sure proxies don't deliver the wrong content Header append Vary User-Agent env=!dont-vary RewriteEngine On RewriteRule .* - [E=noconntimeout:1] RewriteRule .* - [E=noabort:1] ## EXPIRES CACHING ## ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType text/html "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType text/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month” ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 1 month" ## EXPIRES CACHING ## Header set... You are listening to the topic about "How to Optimize WordPress Website without Plugin (Lite-Speed)", if you want to read the full article, please visit https://geniuswp.com or the link in the description.