en-têtes cache-control
cache-control header en-tête cache-control
cache-control header
Cache-Control headers can be added like this.
On peut ajouter des en-têtes Cache-Control comme ceci.When Sinatra is serving static files, set this to add Cache-Control headers to the responses.
A définir quand Sinatra rend des fichiers statiques pour ajouter les en-têtes Cache-Control.Cache-control headers should not be used in such a way as to entirely disable caching.
L'en-tête Cache-Control ne doit en aucun cas être utilisé pour désactiver la mise en cache entièrement.MediaPackage sets default Cache-Control headers that ensure correct playback behavior.
MediaPackage définit les en-têtes Cache-Control par défaut qui garantissent un comportement correct de la lecture.The first should be self-explanatory, andthe second can be used to apply Cache-Control headers.
La première ne nécessite aucune explication, etla seconde peut servir à appliquer des en-têtes Cache-Control.Cache-control headers, cookies, the reverse cache proxy(Varnish), Content Delivery Networks and a few other topics will also be discussed.
Les en-têtes cache-control, les cookies, le proxy inverse de mise en cache(Varnish), les réseaux de diffusion de contenu et quelques autres sujets seront eux aussi examinés.You should be aware that some Content Management Systems(CMS) andWikis automatically generate cache-control headers.
Notez que certains systèmes de gestion du contenu(CMS) etcertains Wiki génèrent automatiquement des en-têtes Cache-Control.While the Cache-Control headers sent by clients will be respected, and the raw 5xx responses returned to the client on request, the 5xx response so returned to the client will not invalidate the content in the cache.
Alors que l'en-tête Cache-Control envoyé par les clients sera respecté, et que les clients recevront donc dans ce cas la réponse 5xx brute à leur requête, cette réponse 5xx renvoyée au client n'invalidera pas le contenu dans le cache.The minimum amount of time that those files stay in the CloudFront cache regardless of the value of any Cache-Control headers that your origin adds to the files.
Durée minimale pendant laquelle ces fichiers demeurent dans le cache CloudFront indépendamment de la valeur de tout en-tête Cache-Control que votre origine ajoute aux fichiers.To specify a minimum and maximum time that your objects stay in the CloudFront cache regardless of Cache-Control headers, anda default time that your objects stay in the CloudFront cache when the Cache-Control header is missing from an object, choose Customize.
Pour spécifier une durée maximale et une durée minimale pendant lesquelles vos objets demeurent dans le cache CloudFront quels quesoient les en-têtes Cache-Control, ainsi qu'une durée par défaut quand l'en-tête Cache-Control est absent d'un objet, choisissez Customize.You can easily set the Cache-Control header like this.
Vous pouvez facilement définir l'en-tête Cache-Control de la manière suivante.A cache-control header can appear in both HTTP requests and responses.
Un en-tête Cache-Control peut apparaître à la fois dans les requêtes et les réponses HTTP.This function patches the Cache-Control header by adding all keyword arguments to it.
Cette fonction complète l'en-tête Cache-Control en y ajoutant tous les paramètres nommés.A Cache-Control header can look like this.
Un en-tête Cache-Control peut ressembler à ceci.This content should declare itself uncacheable using the Cache-Control header.
Ce type de contenu doit se déclarer lui-même"à ne pas mettre en cache" via l'en-tête Cache-Control.We use the Cache-Control header for this purpose.
On utilise à cette fin l'en-tête Cache-Control.Clients do this using several directives of the Cache-Control header.
Les clients font cela en utilisant plusieurs directives de l'en-tête Cache-Control.Values that would be valid in a Cache-Control header.
Valeurs qui seraient valides dans un en-tête Cache-Control.Represents the Cache-Control header.
Nous allons intervenir sur le header Cache-Control.For our static resources we also use the Cache-Control header.
Pour nos ressources statiques, nous nous appuyons aussi sur le header Cache-Control.Cache_control(**kwargs)[source]¶ This decorator patches the response's Cache-Control header by adding all of the keyword arguments to it.
Cache_control (**kwargs)[source]¶ Ce décorateur complète l'en-tête Cache-Control de la réponse en y ajoutant tous les paramètres nommés.It has a max-age section in its Cache-Control header then the page will be cached until the expiry time, rather than CACHE_MIDDLEWARE_SECONDS.
Avec une section max-age dans son en-tête Cache-Control, la page sera mise en cache jusqu'à la fin de ce délai d'expiration, sans tenir compte du temps défini dans CACHE_MIDDLEWARE_SECONDS.By using the Cache-Control header, it is very easy to disable caching entirely.
L'en-tête Cache-Control vous permet de désactiver la mise en cache de manière simple et efficace.The dispatcher will now use the Cache-Control header to control invalidation of the cache files.
Le dispatcher utilise maintenant l'en-tête Cache-Control pour contrôler l'invalidation des fichiers de cache.Sets the Cache-Control header to be either public or private and optionally sets a max-age directive of the resource.
Configure l'en-tête Cache-Control pour être soit public soit private et configure optionnellement une directive de la ressource à un max-age.CakeResponse exposes separate methods for setting each of the directives in the Cache-Control header.
CakeResponse expose des méthodes séparées pour la définition de chaque component dans l'en-tête Cache-Control.The origin server defined freshness lifetime can be overridden by a client when the client presents their own Cache-Control header within the request.
Un client peut passer outre la durée de fraîcheur définie pour le serveur original en ajoutant son propre en-tête Cache-Control à la requête.This directive defines the value of the Expires header andthe max-age directive of the Cache-Control header generated for documents of the specified type(e.g., text/html.
Cette directive permet de définir la valeur de l'en-tête Expires etde la directive max-age de l'en-tête Cache-Control générés pour les documents du type MIME spécifié(par exemple, text/html.If your origin server is adding a Cache-Control header to your objects to control how long the objects stay in the CloudFront cache and if you don't want to change the Cache-Control value, choose Use Origin Cache Headers..
Si votre serveur d'origine ajoute un en-tête Cache-Control à vos objets pour contrôler la façon dont ceux-ci demeurent dans le cache CloudFront et que vous ne voulez pas modifier la valeur Cache-Control, choisissez Use Origin Cache Headers.It should be up to the client creating the request, or the origin server constructing the response to decide whether or not the content should be cacheable ornot by correctly setting the Cache-Control header, and mod_cache should be left alone to honor the wishes of the client or server as appropriate.
Le client qui crée la requête ou le serveur d'origine qui génère la réponse doit être à même de déterminer si le contenu doit pouvoir être mis en cache ounon en définissant correctement l'en-tête Cache-Control, et mod_cache sera alors en mesure de satisfaire les souhaits du client ou du serveur de manière appropriée.
Results: 30,
Time: 0.0454
Previously, we did not set cache control headers for any files hosted on assets.adobedtm.com.
It should contain additional cache control headers for use by the CDN and client.
This option lets you define the cache control headers used for the session cookie.
Just ensure cache control headers are being set correctly with the above static_cache_control option.
In this example, no cache control headers are set so default TTL will be applied.
Set Cache Control Headers - A major part of improving site performance is setting cache control headers in order to reduce bandwidth used by visitors.
Configure the cache to remove all cache control headers from the response from the web server.
A cache control class is provided to control the cache control headers on the response object.
Following from the Rails asset pipeline configuration above, you can set cache control headers and digests.
The default "max-age" of our cache control headers is 1 year, so its close to "semi-permanent".