Jump to content

Website really slow ?


glowpowner

Recommended Posts

Hello since a view days the website load time is really slow

And I don't know why or how to make it faster

I run it on my own dedicated server with Windows

And use plesk as website admin panel

Can someone maybe tell me why the website is so slow

And if someone can tell me how to fix this

Thanks.

Website: www.gamers4fun.eu

Link to comment
Share on other sites

40 minutes ago, glowpowner said:

Can someone maybe tell me why the website is so slow

And if someone can tell me how to fix this

Your site will move faster if:

- Enable Gzip compression and Leverage Browse caching in your htaccess file

- Select your JS loaded before the body tag -> Customization - Themes - Edit your theme - Custom:

Javascript include location -> Just before </body> tag

- YSlow improved by 5 points more if you use the cookie-free domain

etc.

 

Link to comment
Share on other sites

32 minutes ago, Adlago said:

Your site will move faster if:

- Enable Gzip compression and Leverage Browse caching in your htaccess file

- Select your JS loaded before the body tag -> Customization - Themes - Edit your theme - Custom:

Javascript include location -> Just before </body> tag

- YSlow improved by 5 points more if you use the cookie-free domain

etc.

 

Thanks for the tips man

website loads a little bit faster

but idk how to do these steps
 

Quote

 

- Select your JS loaded before the body tag -> Customization - Themes - Edit your theme - Custom:

Javascript include location -> Just before </body> tag

- YSlow improved by 5 points more if you use the cookie-free domain

 

i did the Gzip compression

and i found something about Leverage browser caching

im not really a expert in this kind of things

Link to comment
Share on other sites

1 minute ago, tekguru said:

@Adlago If setting the 'Javascript include location -> Just before </body> tag' makes so much difference why do Invision not set that option as standard on the default theme?

It can say developers. There are different operating servers.
I think that as an option is a very good solution.
Anyone who deals with optimization appreciates

Link to comment
Share on other sites

5 hours ago, tekguru said:

@Adlago If setting the 'Javascript include location -> Just before </body> tag' makes so much difference why do Invision not set that option as standard on the default theme?

From my  understanding it's not always the "best" thing to do.  Sometimes you may need JS to load before the rest of the data and that selection will defeat it.  It is just something to try and if it works consider yourself blessed.

Link to comment
Share on other sites

If you have certain features for display that are dependent on the JS. Or certain functions that effect the display.  It's really a trial and error.  The stuff you want "below the fold" (what he's referring to) are scripts that slow the rendering (google analytics, Facebook/FacePile, Google +, Twitter, etc).  Some things though need to load before as what is displayed can be dependent on what they return.  

It's worth trying it... but if you notice display errors or features/functions not working, you need to try disabling it and see if they start working again.

Link to comment
Share on other sites

6 hours ago, glowpowner said:

seems faster now

I see your website acceleration.
Here's how to improve your Google Loverage browser caching

1. Create in your root directory new directory - for example with the name Google.

2. Upload this file in it

analytics.js

3. Edit only link in ACP-SEO-Configure Google Analytics ->Google AnalyticsTracking Code. 

Find

"script","//www.google-analytics.com/analytics.js","ga")

and change is

"script","//yoursait.com/Google/analytics.js","ga")

and Save.

 

Link to comment
Share on other sites

@glowpownerYou can add in your htaccess file

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/png "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/x-javascript "access plus 1 week"
ExpiresByType application/x-shockwave-flash "access plus 1 week"
ExpiresByType video/x-flv "access plus 1 week"
ExpiresByType application/pdf "access plus 1 week"
ExpiresByType text/html "access plus 1 month"
ExpiresByType text/xml "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresByType application/font-woff "access plus 1 month"
ExpiresByType application/x-font-woff "access plus 1 month"
ExpiresByType font/woff "access plus 1 month"
ExpiresByType application/font-woff2 "access plus 1 month"
ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
ExpiresByType application/x-font-ttf "access plus 1 month"
ExpiresByType font/opentype "access plus 1 month"
ExpiresByType image/svg+xml "access plus 1 month"
</IfModule>

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...