sesh / ready

Are you production ready?
ISC License
26 stars 4 forks source link

Caching policies #11

Closed Seirdy closed 11 months ago

Seirdy commented 11 months ago

ready could run the following checks:

sesh commented 11 months ago

Thanks for the series of suggestions @Seirdy. I'll set aside some time tomorrow to review and implement them.

sesh commented 11 months ago

I've added checks for p3p and max-age being below 24 hours.

There is already a check for Cache-Control being in the response (I'm assuming this tool will only be used to test non-trivial responses).

For static assets I think it's best to use webhint or pagespeed. I'm not keen to start requesting assets referred to on the page. I've added links to both of these in the "other tools" section of the README.