wieni / wmcontroller

Adds support for bundle-specific controllers for Drupal 8 entities.
MIT License
3 stars 4 forks source link

Implement stale-while-revalidate and stale-if-error cache control directives #60

Closed RobinHoutevelts closed 1 year ago

RobinHoutevelts commented 1 year ago

Summary

stale-if-error gives you the control over how a CDN should behave in case of errors. stale-while-revalidate can improve the perceived performance of your website, if your website doesn't require absolute data freshness.

It would be nice to use these directives for improved CDN performance.

RobinHoutevelts commented 1 year ago

Done in https://github.com/wieni/wmcontroller/pull/61