-
Notifications
You must be signed in to change notification settings - Fork 890
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
Enhancement: GTMETRIX Add Expires headers #8
Comments
Expire HeadersDefinitionExpires headers tell the browser whether they should request a specific file from the server or whether they should grab it from the browser's cache. The whole idea behind Expires Headers is not only to reduce the load of downloads from the server (constantly downloading the same file when it's unmodified is wasting precious load time) but rather to reduce the number of HTTP requests for the server. .htaccessFrom StackOverFlow: The easiest way to add these headers is a Note that some hosting providers will not let you use In Apache HTTP server,
|
Can I update the HTTP headers with a .htaccess on Github pages?The answer is no, however we can stimulate html header on html pages using There seem to be a jekyll plugin named assets but I have not tested it. I don't think I will create a .htaccess file for the beauty since I will be mostly using the template on Github page. |
You can leverage browser caching, use apache configuration files if you use something like cloudflare according to this. I might test it at some point |
* csharp: add more docs
Added hint.md (sylhare#8)
Referring to an item of #6 we will look at how to add the "expires headers"
The text was updated successfully, but these errors were encountered: