rareout
Active member
- Aug 16, 2019
- 291
- 66
- 28
gtmetrixWhat site did you use to check page speed? Post your results.
gtmetrixWhat site did you use to check page speed? Post your results.
thank you for this wonderful sharei use png 8 format, it made the file size drastically lesser in size compared to jpeg. Also enable gzip compression on your host. u can do it by editing the htaccess file.
Open the ht access and add
<ifModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript
</ifModule>
then enable browser cache using following code
# BEGIN Expire headers
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 2592000 seconds"
ExpiresByType image/jpeg "access plus 2592000 seconds"
ExpiresByType image/png "access plus 2592000 seconds"
ExpiresByType image/gif "access plus 2592000 seconds"
ExpiresByType application/x-shockwave-flash "access plus 2592000 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 216000 seconds"
ExpiresByType application/javascript "access plus 216000 seconds"
ExpiresByType application/x-javascript "access plus 216000 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
</ifModule>
# END Expire headers
# BEGIN Cache-Control Headers
<ifModule mod_headers.c>
<filesMatch "\.(ico|jpe?g|png|gif|swf)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(css)$">
Header set Cache-Control "public"
</filesMatch>
<filesMatch "\.(js)$">
Header set Cache-Control "private"
</filesMatch>
<filesMatch "\.(x?html?|php)$">
Header set Cache-Control "private, must-revalidate"
</filesMatch>
</ifModule>
# END Cache-Control Headers
also enable etag configuration
Header unset ETag
FileETag None
This will increase the speed drastically. finally the speed depends on your theme.
let me tell you my experience
i used phlox pro theme and was unable to pass more than 70 in desktop and 30 in mobile
tried everything, used wptotal cche, autoptimize and gzip. no way
finally decided to change the theme to wp astra +elementor page builder now getting 96 in desktop and 68 in mobile with shared hosting in fastcomet with basic plan.
fixed send pm for me.@INOX I wanted to PM several questions, but your PM's are off. Any other way to contact you please?
TassieNZ![]()