
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Speedup Website Archives - TECHNIG</title>
	<atom:link href="https://www.technig.com/tag/speedup-website/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.technig.com/tag/speedup-website/</link>
	<description>Gateway for IT Experts and Tech Geeks</description>
	<lastBuildDate>Tue, 19 Apr 2016 05:30:41 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://www.technig.com/wp-content/uploads/2020/04/32x32.png</url>
	<title>Speedup Website Archives - TECHNIG</title>
	<link>https://www.technig.com/tag/speedup-website/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">162720667</site>	<item>
		<title>How to Speedup WordPress Site 90% Without Plugin?</title>
		<link>https://www.technig.com/speedup-wordpress-site-without-plugin/</link>
					<comments>https://www.technig.com/speedup-wordpress-site-without-plugin/#comments</comments>
		
		<dc:creator><![CDATA[Hujatulla Asghari]]></dc:creator>
		<pubDate>Tue, 19 Apr 2016 05:30:41 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[Speedup Website]]></category>
		<category><![CDATA[WordPress Developer]]></category>
		<category><![CDATA[WordPress Tips]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=6996</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"></div>
<p>If you test you site speed with google PageSpeed or GTmetrix, you will see some statistics about page speed or Yslow score. You most probably want to see a high score. this article is all about how to speedup WordPress site up to 90% with simple tricks. Though there are many plugins like W3 Total Cache or [&#8230;]</p>
<p>The post <a href="https://www.technig.com/speedup-wordpress-site-without-plugin/">How to Speedup WordPress Site 90% Without Plugin?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"></div><p>If you test you site speed with google PageSpeed or GTmetrix, you will see some statistics about page speed or Yslow score. You most probably want to see a high score. this article is all about how to speedup WordPress site up to 90% with simple tricks. Though there are many plugins like W3 Total Cache or Gzip Ninja, this tutorial will show you the trick without those plugins. So, all you need is to have access to your site cpanel.</p>
<h2>What are the Most Common Speed Problems?</h2>
<p>There some problems that page speed tester websites mention with testing our site. Here are list of them and how to solve them.</p>
<ul style="list-style-type: circle;">
<li><strong>How to solve: Defer parsing of JavaScript?</strong></li>
<li><strong>How to solve:Remove query strings from static resources?</strong></li>
<li><strong>How to solve: Specify a cache validator?</strong></li>
<li><strong>How to solve: Enable gzip compression?</strong></li>
<li><strong>How to solve: Leverage browser caching?</strong></li>
<li><strong>How to solve: Enable Keep-Alive?</strong></li>
<li><strong>How to solve: Specify a cache validator?</strong></li>
</ul>
<p>and more&#8230;</p>
<p>We are going to use <a href="https://gtmetrix.com" target="_blank" rel="noopener noreferrer">GTmertix </a>for testing our site speed, you can use any other speed tester as you want.</p>
<h2>Speedup WordPress site</h2>
<p>To remove query strings from static resources in WordPress site, simply past the following code in your theme function.php file. If you are not a developer, call someone who know&#8217;s about theme development in WordPress to do this step for you.</p>
<pre class="theme:sublime-text lang:php decode:true">function _remove_script_version( $src ){ 
$parts = explode( '?', $src ); 	
return $parts[0]; 
} 
add_filter( 'script_loader_src', '_remove_script_version', 15, 1 ); 
add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );</pre>
<p>&nbsp;</p>
<p>To solve others problems, just add the following code in you .htaccess file. The htaccess file must be in the root directory of you site. (make sure you talk a copy of you htaccess before adding this code).</p>
<p><strong><span style="text-decoration: underline;">Note:</span> </strong>There might be some lines in your htaccess file which is already generated by WordPress. You can add this code at the end of that code. But I recommend to replace all of that with the following code. It&#8217;s standard code plus speedup WordPress site code.</p>
<pre class="theme:sublime-text lang:default decode:true "># BEGIN WordPress.
&lt;IfModule mod_rewrite.c&gt;
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Header set Connection keep-alive
&lt;/IfModule&gt;


# Enable Compression.
&lt;IfModule mod_deflate.c&gt;
  AddOutputFilterByType DEFLATE application/javascript
  AddOutputFilterByType DEFLATE application/rss+xml
  AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
  AddOutputFilterByType DEFLATE application/x-font
  AddOutputFilterByType DEFLATE application/x-font-opentype
  AddOutputFilterByType DEFLATE application/x-font-otf
  AddOutputFilterByType DEFLATE application/x-font-truetype
  AddOutputFilterByType DEFLATE application/x-font-ttf
  AddOutputFilterByType DEFLATE application/x-javascript
  AddOutputFilterByType DEFLATE application/xhtml+xml
  AddOutputFilterByType DEFLATE application/xml
  AddOutputFilterByType DEFLATE font/opentype
  AddOutputFilterByType DEFLATE font/otf
  AddOutputFilterByType DEFLATE font/ttf
  AddOutputFilterByType DEFLATE image/svg+xml
  AddOutputFilterByType DEFLATE image/x-icon
  AddOutputFilterByType DEFLATE text/css
  AddOutputFilterByType DEFLATE text/html
  AddOutputFilterByType DEFLATE text/javascript
  AddOutputFilterByType DEFLATE text/plain
&lt;/IfModule&gt;

&lt;IfModule mod_gzip.c&gt;
  mod_gzip_on Yes
  mod_gzip_dechunk Yes
  mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
  mod_gzip_item_include handler ^cgi-script$
  mod_gzip_item_include mime ^text/.*
  mod_gzip_item_include mime ^application/x-javascript.*
  mod_gzip_item_exclude mime ^image/.*
  mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
&lt;/IfModule&gt;

# Leverage Browser Caching.

&lt;IfModule mod_expires.c&gt;
  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"
&lt;/IfModule&gt;

&lt;IfModule mod_headers.c&gt;
  &lt;filesmatch "\.(ico|flv|jpg|jpeg|png|gif|css|swf)$"&gt;
  Header set Cache-Control "max-age=2678400, public"
  &lt;/filesmatch&gt;
  &lt;filesmatch "\.(html|htm)$"&gt;
  Header set Cache-Control "max-age=7200, private, must-revalidate"
  &lt;/filesmatch&gt;
  &lt;filesmatch "\.(pdf)$"&gt;
  Header set Cache-Control "max-age=86400, public"
  &lt;/filesmatch&gt;
  &lt;filesmatch "\.(js)$"&gt;
  Header set Cache-Control "max-age=2678400, private"
  &lt;/filesmatch&gt;
&lt;/IfModule&gt;
</pre>
<p>&nbsp;</p>
<h2>Conclusion</h2>
<p>Now you site must be in a group of speed tester site. We hope it helped you and, if you have any question or any problem, feel free to comment it below. 🙂</p>
<p>The post <a href="https://www.technig.com/speedup-wordpress-site-without-plugin/">How to Speedup WordPress Site 90% Without Plugin?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/speedup-wordpress-site-without-plugin/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">6996</post-id>	</item>
	</channel>
</rss>
