Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 10, 20159 yr This is a custom .htaccess to use on the IPS Community Suite Forums. It helps to improve your forums Google Page Speed and YSlow scores. The top segment is the same .htaccess that is generated by the IPS Forum software. The bottom segment is based upon research of several websites and the references listed below. Please be careful when using this file because the contents may be incompatible with your server setup. Preventative measures have been taken to ensure that it should be safe to use in any Apache based environment. Google recommends a minimum of one week: https://developers.google.com/speed/docs/insights/LeverageBrowserCachingGTmetrix recommends a minimum of one month: http://gtmetrix.com/leverage-browser-caching.html This file is provided as-is and works with Apache based systems only. Server configurations may vary and there may be unexpected results, preventative measures have been included to try and keep any problems from occurring. This resource is not supported. Help will be offered to the best of my ability and the community's help and feedback are welcomed. Contributions to improve the overall performance gained by this file are encouraged.
May 11, 20159 yr I am only finding a readme file in the zip, am I missing it somehow?You need to show hidden files on your computer/server.
May 11, 20159 yr Author I am only finding a readme file in the zip, am I missing it somehow?If anyone else runs into this sort of issue please let me know. I'll be glad to include a copy as htaccess.txt to prevent this from being an issue in the future.
May 11, 20159 yr If anyone else runs into this sort of issue please let me know. I'll be glad to include a copy as htaccess.txt to prevent this from being an issue in the future. Although not an issue for me, it may be beneficial to include it as standard and prevent unnecessary support topics/posts regarding it
May 12, 20159 yr Author Draffi, yes. However you will need to remove the top segment of IPS 4 .htaccess code. Only use the segment from the ## Begin - Expires caching to the ## End - Expires caching. I use this same code on my Lunarsoft frontpage. Edited May 12, 20159 yr by Tarun
May 13, 20159 yr Author 1.0.1 is now availableNo changes have been made to the file contents of .htaccess and the htaccess.txt is a direct copy of .htaccess. Changes:Included htaccess.txtIncluded changelog.txtIncluded Readme.txt
May 17, 20159 yr Heres results before and after this "mod". I dont see much change? after.pdf before.pdf Edited May 17, 20159 yr by Owdy
May 17, 20159 yr Author I don't see much change either. Things did improve. It would be nice to expand and see where these issues are. Also, 89 requests seems rather high. I'll poke around with the url and see what I can find that can be done to help improve the speeds and such of your site and post again later, possibly editing this post. With what I see just taking a peek, turning this image linked below into a jpg will help reduce load times and file size. From 422KB to 37KB as a jpg when I tried with: http://image.online-convert.com/convert-to-jpg http://hoitajat.net/images/aihekuvat/etusivu.png Many things need image dimensions set, too which will improve your scores. gzip doesn't look to be enabled? Twitter looks to need an update to load asynchronously. Optimizing your images (pngs) and compressing them will also help reduce page size and improve load times. Page load time: 8.08s Total page size: 2.65MB Total number of requests: 89 A lot of the page needs optimizations and work, but the .htaccess did improve what it could a bit. I hope this helps you get your page optimized.
May 24, 20159 yr Heres results before and after this "mod". I dont see much change? after.pdf before.pdf Edit your theme, go to Custom tab and change "Javascript include location" to "Just before </body> tag".
June 1, 20159 yr I did put this in place but found a lot of Mods like the 'cookie mod' stopped working properly in that after a user had clicked to acknowledge cookies were uses on the site (which hides the mod), then when re-running the browser instead of the mod block being hidden it was visible again.
July 2, 20159 yr Will try this later tonight, my current scores are pretty bad from GTmetrix with Page Speed E and yslow D.
July 3, 20159 yr Holy Shoot balls batman. My forum is about 5 years old and I've never really taken the time to run a speed test. I did (on GTmatrix) and I got a D and C specifically. ok fine whatever it's never effected our traffic all that much, I don't think. Anyway I add in the .htaccess modiciation (with some slight changes) below the rules I already had in place. I reran the test and received and A (93%) and B 83%) What exactly is going on here and why the performance jump?
October 29, 20159 yr Author No update is necessary for IPS Forums 4.1. This .htaccess continues to work with no changes or updates needed. On 7/2/2015, 8:25:48, chrisjmc2006 said: What exactly is going on here and why the performance jump? Proper caching expiry timers are being established, which is what most of these tests are looking for. On 7/2/2015, 4:17:54, NoGi said: Will try this later tonight, my current scores are pretty bad from GTmetrix with Page Speed E and yslow D. Any changes to report? On 6/1/2015, 6:57:28, tekguru said: I did put this in place but found a lot of Mods like the 'cookie mod' stopped working properly in that after a user had clicked to acknowledge cookies were uses on the site (which hides the mod), then when re-running the browser instead of the mod block being hidden it was visible again. Do these mods use Javascript or something to acknowledge the cookie mod? Because that's the only thing I can think of that might interfere with the mod. Edited October 29, 20159 yr by Tarun
October 30, 20159 yr So I'm having a slight issue with this on my 3.4.8 board. View New Content doesn't update with the actual new content unless the user does an F5. Thoughts?
June 15, 20168 yr Author 1.0.2 is now available Changes: Added the "map" part that IPS generates into the .htaccess file - 404 section. I also added a screenshot so it doesn't show a blank .png thumbnail here on the Marketplace.
October 31, 20168 yr If my forums are in /forums does this information go in the htaccess in public_html directory or /forums. For some time I have had those expires headers in a htaccess file in my public_html directory, but in readme it says to put it in forum root. I have also been using access plus 1 week/month instead of now plus 1 week/month, is there any real difference? Edited October 31, 20168 yr by marklcfc