Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted November 26, 20159 yr 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
November 26, 20159 yr 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.
November 26, 20159 yr Author 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
November 26, 20159 yr 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.
November 26, 20159 yr @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?
November 26, 20159 yr 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
November 26, 20159 yr I tried this and i did seem to help the speed of the website loading, if anyone else has any ideas, post them up!
November 26, 20159 yr 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.
November 26, 20159 yr 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.
November 26, 20159 yr Hmm. Ok, a bit over my head, but I gave it a shot anyways. Thanks for the help & info.
November 26, 20159 yr 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.
November 26, 20159 yr 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.
November 26, 20159 yr 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.
November 26, 20159 yr 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.
November 26, 20159 yr Author thanks @Adlago looks like its getting faster after your tips also now other members notice it is faster thanks
November 26, 20159 yr @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>
November 26, 20159 yr 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?)
November 26, 20159 yr Author in your httpdocs folder (website root folder) and make a file called .htaccess
November 26, 20159 yr 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?
November 26, 20159 yr @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.
November 26, 20159 yr Author 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 ?
Archived
This topic is now archived and is closed to further replies.