11/29/2023 0 Comments Adding public private cache header![]() Server: ASP.NET Development Server/8.0.0. the cache control is public so my cache system before the F5 can cache. There are different directives that you can add to cache-control, but the most. Doing so will risk displaying one user's personal information to others. cache-control: public and cache-control: private. Rewrite rules mostly govern the retrieval of cache objects, though. ![]() Generally speaking, response headers are used by your LSCache plugin to instruct the LSCache Engine if and how to store cache objects for incoming requests. Certain pages should never be cached by shared caches like CDNs. The LSCache Engine is controlled through response headers, rewrite rules, and Apache-style directives. If so, perhaps you just have not reloaded nginx after the change sudo nginx -s reload. Cache-Control is a header that you can configure your web server to add to all outgoing requests, which will tell the browser and CDNs how to cache your content. ![]() (new TimeSpan(dt.ToFileTime())) Īnd this is what the header responses show: - Is your origin sending back a Cache-Control header Or is this one of the files that would be served directly from file system. My implementation is as follows: protected override void OnLoad(EventArgs e)ĭateTime dt = (30) public Indicates any cache may store the response, even if the response is normally non-cacheable or cacheable only within a private cache. I am trying to set the cache-control headers for a web application (and it appears that I'm able to do it), but I am getting what I think are odd entries in the header responses.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |