-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide sensible defaults for performance #58
Conversation
LGTM! Strange that javascript should be cached for a year but fonts only for a month, but I guess we should just rely on html5boilerplate here. |
Yeah, my thoughts and arguments were exactly the same :)
|
On second though, I am not a big fan of this change.
|
|
Which is all that the Your changes are not wrong, however, we should leave it up to the users to decide whether they want to optimize their server through an I guess that is why Symfony does not ship any |
I disagree. This is an absolute must-have to me. It doesn't harm at all and it provides a sane default for a lot of smaller sites and it serves as a reference to copy stuff from if you care. |
I don't know what the mime type definition is necessary for (if we wanna keep the file small), but I'd love to have the expire headers set. |
Just to ensure the headers are set correctly e.g. on |
As discussed in Mumble on March 15th, we should not add this to the default We might ship an |
use https://github.com/hofff/contao-htaccess instead ;-) ... but we have to update for Contao 4! |
It was quite a heated discussion and eventually we agreed on providing an example configuration in the docs and adding a link to it in the |
A new issue thereto has been created at contao/docs#493. |
No description provided.