-
Notifications
You must be signed in to change notification settings - Fork 671
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
Issue parsing single value cache-control
directive ending in comma
#2918
Comments
@bmt-systems the recommended value for resources and
|
Moving this to the CLI repo as we have an error in the apache configuration. |
I changed the directive in my .htaccess file to:
But the online scanner still throws a hint:
|
At least we've changed the error message! I'm thinking the error is the trailing |
Apache version 2.4.39 |
cache-control
directive ending in comma
I've reviewed the whole Apache configuration in the docs, and it should be ok. There's the following lines a bit above the
And the one you were modifying is only for files named I'm looking into why webhint reports the directive is invalid. |
@bmt-systems I've opened #2927 to address the current issue. I've used your website for testing and now it should tell you to add the |
I'm using the browser extension and the online scanner. Please let me know when either is updated with the patch and I'll test on my end. |
I'm using the .htaccess file configuration suggested by Webhint. The default cache-control for the favicon is 1 hour; why so short a period? Favicons aren't updated frequently. GTMetrix suggests 1 week, so I edited the directive in the .htaccess file to:
But then the online scanner (with webhint version: 5.2.2) generates this hint:
...which is 1 week; why is this an error?
The text was updated successfully, but these errors were encountered: