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. This segment is Invision Power Services code and I do not claim it as my own. All rights and credit for this segment of the .htaccess are Invision Power Services.
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.
Warning: If you have customized your .htaccess file you will want to make the necessary edits to add the code included in the .htaccess file found in this package.
When you make updates be sure to remind users to clear their cache. You can also refer them to this URL for instructions on how to do clear their cache: https://wiki.lunarsoft.net/wiki/Clearing_browser_cache
Google recommends a minimum of one week: https://developers.google.com/speed/docs/insights/LeverageBrowserCaching
GTmetrix recommends a minimum of one month: https://gtmetrix.com/leverage-browser-caching.html
Best of luck,
Edited by Tarun
What's New in Version 1.0.2 See changelog
- Added the "map" part that IPS generates into the .htaccess file - 404 section.
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. The community's help and feedback are welcomed. Contributions to improve the overall performance gained by this file are encouraged.
Compatible with: IPS Forums 4.6.x, 4.5.x, 4.4.x, 4.3.x, 4.2.x, 4.1.x, 4.0.x