Skip to content

Commit f16a6d0

Browse files
committed
docs: Removed more outdated links
1 parent dee9a17 commit f16a6d0

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

docs/faq.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
.. _paste: https://pythonpaste.readthedocs.io/
77
.. _pylons: https://pylonsproject.org/
88
.. _gevent: http://www.gevent.org/
9-
.. _compression: https://github.com/bottlepy/bottle/issues/92
10-
.. _GzipFilter: http://www.cherrypy.org/wiki/GzipFilter
11-
.. _cherrypy: http://www.cherrypy.org
129
.. _heroku: http://heroku.com
1310
.. _django: https://www.djangoproject.com/
1411
.. _werkzeug: https://werkzeug.palletsprojects.com/en/3.0.x/
@@ -248,9 +245,6 @@ If you browse to ``http://localhost:8080/stream``, you should see 'START', 'MIDD
248245
Gzip Compression in Bottle
249246
--------------------------
250247

251-
.. note::
252-
For a detailed discussion, see compression_
253-
254248
A common feature request is for Bottle to support Gzip compression, which speeds up sites by compressing static resources (like CSS and JS files) during a request.
255249

256250
Supporting Gzip compression is not a straightforward proposition, due to a number of corner cases that crop up frequently. A proper Gzip implementation must:
@@ -265,7 +259,7 @@ Supporting Gzip compression is not a straightforward proposition, due to a numbe
265259
* Make sure the cache does not get to big.
266260
* Do not cache small files because a disk seek would take longer than on-the-fly compression.
267261

268-
Because of these requirements, it is the recommendation of the Bottle project that Gzip compression is best handled by the WSGI server Bottle runs on top of. WSGI servers such as cherrypy_ provide a GzipFilter_ middleware that can be used to accomplish this.
262+
Because of these requirements, it is the recommendation of the Bottle project that Gzip compression is best handled by the WSGI server Bottle runs on top of. WSGI servers and reverse proxies often provide built-in features that allow transparent compression without changing the application itself.
269263

270264

271265
Using hooks to handle CORS

0 commit comments

Comments
 (0)