can someone tell me how to increse page speed ?

darkmesaia

Member
Nov 13, 2019
50
17
8
Everywhere!
All of the above is right, as far as suggestions for some cache plugins, some links on how to optimize your site and so on.

However, you should probably start by looking at the Hosting provider, if the layout is 100% working correctly and then go with a number of cache, cloudflare etc solutions first.

Also from a check I can see that your statistics do not justify the delay


If you need any help I'll be happy to help. At least the information is free. :)
 

redstar1982

Active member
Oct 25, 2019
149
54
28
i 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.
 

rareout

Active member
Aug 16, 2019
291
66
28
i 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.
thank you for this wonderful share
 
  • Like
Reactions: octopus1982

Itsyaboy

Active member
May 9, 2019
209
77
28
I've fully optimized my site via gtmetrx that has over 100k post and even more images throw me a PM I can help 24506
 

redstar1982

Active member
Oct 25, 2019
149
54
28
24509


Nothing special, used WP Astra Theme and we completely built from scratch not used any templates. Used Elementor with pro, this is to avoid usage of popup plugins. instead i can create forms and popup using elementor pro. Used Autoptimizer.

Images:

All banner images are in PNG 24 with 100 to 150 KB size due to high resolution and size
Other inline images are PNG 8 with less than 50 KB size.

all pages have banner images with 1920X 1280 size or 1024X 576 Size.

Plugins Used:

1. WPSMTP for emails

2. Rank math SEO, able to crawl google in two days using their instant crawl. rank math is completely free and u can use 5 Keywords.

3. Autoptimizer for minifying the js and css

4. Crisp Chat for Live chat.

5. W3 Total Cache for Page cache.

6. Enabled Gzip compression on our hosting provider.

7. Finally used clouflare CDN for static resources. used their basic free plan.



We use Basic Shared hosting with fastcomet 3$ per month as our site is a startup site and not much traffic are expected in early months.

Disclaimer: iam not connected to any of the above plugins nor iam an affiliate of anybody. I posted for enlightening others to get more performance.

Note: if you want proof, i can send the link.
 
Last edited:
  • Like
Reactions: vigyavan and Tetryx

About us

  • Our community has been around for many years and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu