Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
glowpowner Posted November 26, 2015 Posted November 26, 2015 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
Adlago Posted November 26, 2015 Posted November 26, 2015 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.
glowpowner Posted November 26, 2015 Author Posted November 26, 2015 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
Adlago Posted November 26, 2015 Posted November 26, 2015 4 minutes ago, glowpowner said: but idk how to do these steps This site has a lot written about the htaccess - search and you will find the solution for you.
tekguru Posted November 26, 2015 Posted November 26, 2015 @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?
Adlago Posted November 26, 2015 Posted November 26, 2015 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
TheGreyWizard Posted November 26, 2015 Posted November 26, 2015 I tried this and i did seem to help the speed of the website loading, if anyone else has any ideas, post them up!
Tracy Perry Posted November 26, 2015 Posted November 26, 2015 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.
TheGreyWizard Posted November 26, 2015 Posted November 26, 2015 What are the instances you would need JS to load before the rest of the data?
Tracy Perry Posted November 26, 2015 Posted November 26, 2015 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.
TheGreyWizard Posted November 26, 2015 Posted November 26, 2015 Hmm. Ok, a bit over my head, but I gave it a shot anyways. Thanks for the help & info.
h-y-b-r-i-d Posted November 26, 2015 Posted November 26, 2015 Optimizing is great, but the software has speed issues, more-so since 4.1.4... There is a 4.1.4 memcached patch which helps if you are running that.
h-y-b-r-i-d Posted November 26, 2015 Posted November 26, 2015 Optimizing is great, but the software has speed issues, more-so since 4.1.4... There is a 4.1.4 memcached patch which helps if you are running that.
Tracy Perry Posted November 26, 2015 Posted November 26, 2015 6 minutes ago, DealTrakr said: Optimizing is great, but the software has speed issues, more-so since 4.1.4... There is a 4.1.4 memcached patch which helps if you are running that. It apparently also has a double post issue with times about a minute apart.
Adlago Posted November 26, 2015 Posted November 26, 2015 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.
glowpowner Posted November 26, 2015 Author Posted November 26, 2015 thanks @Adlago looks like its getting faster after your tips also now other members notice it is faster thanks
Adlago Posted November 26, 2015 Posted November 26, 2015 @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>
glowpowner Posted November 26, 2015 Author Posted November 26, 2015 I'm gonna add that now @Adlago again thanks
TheGreyWizard Posted November 26, 2015 Posted November 26, 2015 What does that code do aldago and what file & where exactly should it be added? (to the end of all of the rest of the code etc?)
glowpowner Posted November 26, 2015 Author Posted November 26, 2015 in your httpdocs folder (website root folder) and make a file called .htaccess
TheGreyWizard Posted November 26, 2015 Posted November 26, 2015 I seem to have a .htaccess files inside of my public_html folder, should I just add that code to it, or completely overright it? What does this do exactly?
Adlago Posted November 26, 2015 Posted November 26, 2015 @TheGreyWizard Everything in this topic I am writing refers to site @glowpowner He gave a link to a site and test results from the web I write tips.
glowpowner Posted November 26, 2015 Author Posted November 26, 2015 when i put that option for Javascript include location to Just before </body> tag my navigation header doesn't scroll down with me any more so i have that set back because i want that any way to bypass that or do i need to ask the designer who made it to fix that ?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.