konveyor / rulesets

Collections of static code analysis rules
Apache License 2.0
1 stars 17 forks source link

Create "HTTP cache header" rule(s) #119

Open jmle opened 6 days ago

jmle commented 6 days ago

According to the migration guide:

Note that Spring Framework 4.2 comes with revised HTTP cache header processing for resource handling; for common use cases, HTTP caching related headers now have new defaults which do not involve HTTP 1.0 headers such as "Expires" or "Pragma". See WebContentGenerator.setCacheSeconds and the new CacheControl class for more details.

Investigate and create rules if necessary for the new header defaults in cache.

In the rule description and message, try to be as verbose and clear as possible. Code examples are always welcome and useful. Feel free to use markdown syntax for these.

konveyor-ci-bot[bot] commented 6 days ago

This issue is currently awaiting triage. If contributors determine this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance. The triage/accepted label can be added by org members.