Mercurial > p > roundup > code
view doc/sc.txt @ 8019:16cc72cd9c17
fix: Send Vary: Accept-Encoding on any data that could be compressed
This allows upstream caches to return the correct data even when
compression is not in use. It is not sent if the content would never
be compressed. I.E. size < 100 bytes, dynamic compression
disabled, file would not benefit from compression (img/jpeg, img/png).
Fix setVary to add header to vary list only if it's not already there.
Found by redbot.org testing.
References:
https://www.stackpath.com/blog/accept-encoding-vary-important/
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Sun, 02 Jun 2024 18:22:53 -0400 |
| parents | 2ab234484708 |
| children | 394f72021dad |
line wrap: on
line source
.. meta:: :description: Original documentation of the Roundup Issue tracker. Includes historic Software Carpentry submissions and a short paper. =================================== Software Carpentry and Short Papers =================================== These papers are the original artifacts of Roundup. They can't be included easily in the table of contents for the documentation, so they are referenced here. All of these were written by Ka-Ping Yee, the original architect of Roundup.. A few of the pages have been updated to correct links. However you may still have to use the `wayback machine <https://wayback.archive.org>`_ to access some of the links on these pages. The papers in chronological order are: * `See a short paper explaining Roundup <roundup_short_paper.html>`_ * `See the original overview document for Roundup submitted to the Software Carpentry competition <original_overview.html>`_ * `See the original specification document for Roundup submitted to the Software Carpentry competition <spec.html>`_
