libregraphicsmeeting / htdocs-lgm

general website about the lgm
0 stars 0 forks source link

General speed improvements in htaccess #1

Open ms-studio opened 9 years ago

ms-studio commented 9 years ago

It would be a good idea to apply some best practices to improve the website performance. The HTML5 Boilerplate has an excellent example:

https://github.com/h5bp/html5-boilerplate/blob/master/dist/.htaccess

Those settings provide improvements both for site performance (caching, compression) and security.

I propose to apply them at the root level of http://libregraphicsmeeting.org/ so they will benefit all the sites.

ms-studio commented 9 years ago

So, I applied the basic settings of the H5BP Apache Server Configs, both for /lgm and /2015.

I couldn't apply them at the root level, because that .htaccess has write restrictions set to the owner, not group.

One smart thing to do at the root level would be to remove the www. part from all requests, for better SEO.