Load Your Site Fastly:
Today i am going to tell you a way by which you can load your site fastly & it is 100% working.Actually by compressing the content of a site we do that.Lets see how you can do that.
At first test the load speed of your site by reading This ARticle
Before doing this the loading time of my site is in the image below
1.Log in to your site’s cpanel
2. Click File Manager & then click public_html
N.B. Of course check the Show Hidden Files like the image below & click Go.
3.Now select the file file named .htaccess. Then click Download and take the backup of this file so that you can use it in need. You can also do it by selecting this file copy it to public_ftp.Look the image below.
4.Then click Edit from the upper row.A box name Text editor will open & click Edit like the image below.
5. After opening the file you will see some codes.Then add the below codes at the end of those codes & click Save Changes & then click Close button.
6.Then the codes will look like the above image.
Now check your site’s load speed like the above discussed way & if you find any error then upload the backup .htaccess file from public_ftp folder or from your computer.
Now load your site fastly.
What do you find?You can also check my site’s speed. If you have any better way to load a site fastly then please let me and my visitors know by commenting in the comments section.
Comments please & like this page www.facebook.com/etunescafe
All is fine, Just need, you have to deflate it before the #Begin WordPress# Call
I am giving the best optimized wordpress .htaccess for not faster loading but also solving all google page speed loading issue with Cache-Expiration.
#Disable Directory Indexes
Options -Indexes
# BEGIN WEBSITE SPEED BOOST
# Time cheat sheet in seconds
# A86400 = 1 day
# A172800 = 2 days
# A2419200 = 1 month
# A4838400 = 2 months
# A29030400 = 1 year
# Test which ETag setting works best on your Host/Server/Website
# with Firefox Firebug, Firephp and Yslow benchmark tests.
# Create the ETag (entity tag) response header field
#FileETag MTime Size
# Remove the ETag (entity tag) response header field
Header unset ETag
FileETag none
ExpiresActive on
ExpiresByType image/jpg A4838400
ExpiresByType image/gif A4838400
ExpiresByType image/jpeg A4838400
ExpiresByType image/png A4838400
ExpiresByType video/webm A4838400
ExpiresByType application/x-shockwave-flash A4838400
ExpiresByType application/x-javascript A4838400
ExpiresByType application/javascript A4838400
ExpiresByType text/javascript A4838400
ExpiresByType text/css A4838400
#ExpiresByType text/html A86400
# Default is 2 days below so the line above is not needed / commented out
ExpiresDefault A172800
AddOutputFilterByType DEFLATE text/plain text/html
AddOutputFilterByType DEFLATE text/xml application/xml application/xhtml+xml application/xml-dtd
AddOutputFilterByType DEFLATE application/rdf+xml application/rss+xml application/atom+xml image/svg+xml
AddOutputFilterByType DEFLATE text/css text/javascript application/javascript application/x-javascript
AddOutputFilterByType DEFLATE font/otf font/opentype application/font-otf application/x-font-otf
AddOutputFilterByType DEFLATE font/ttf font/truetype application/font-ttf application/x-font-ttf
# Drop problematic browsers
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch bMSI[E] !no-gzip !gzip-only-text/html
# Make sure proxies don’t deliver the wrong content
Header append Vary User-Agent env=!dont-vary
# END WEBSITE SPEED BOOST
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
I gone through the article and get something new ideas from this.