Zuletzt aktualisiert am
Der Abschnitt /cache steuert, wie der Dispatcher Dokumente zwischenspeichert. Konfigurieren Sie Einstellungen, um Ihre Caching-Strategien zu implementieren:
Umgebung
Dispatcher ab Version 4.1.11
Schritte
Response-Header-Caching wird mit der neuen Einstellung /headers in der Einstellung /cache aktiviert. Das Beispiel dispatcher.any im Distributionspaket enthält ein kommentiertes Beispiel:
# Cache response headers next to a cached file. On the first request to # an uncached resource, all headers matching one of the values found here # are stored in a separate file, next to the cache file. On subsequent # requests to the cached resource, the stored headers are added to the # response. # # Note, that file globbing characters are not allowed here. # #/headers # { # "Cache-Control" # "Content-Disposition" # "Content-Type" # "Expires" # "Last-Modified" # "X-Content-Type-Options" # }
Bei Ihrem Konto anmelden