Reply: HTTP Caching

NOTE: You are posting the message as a 'Guest', you can not edit the message or delete it
Please Log in or Register to skip this step.

Topic History of: HTTP Caching

Max. showing the last 6 posts - (Last post first)

1 year 2 months ago
HTTP Caching


Last-Modified Header
ETag Header
Cache-Control Header
Session Cache Limiter
SEO Implications

Last-Modified Header
The Last-Modified header...

HTTP Caching

Besides server-side caching that we have described in the previous sections, Web applications may also exploit client-side caching to save the time for generating and transmitting the same page content.

To use client-side caching, you may configure [[yii\filters\HttpCache]] as a filter for controller actions whose rendering result may be cached on the client-side. [[yii\filters\HttpCache|HttpCache]] only works for GET and HEAD requests. It can handle three kinds of cache-related HTTP headers for these requests: