English 中文(简体)
无法完全强制浏览器来缓存资源 - gscacheBuster 进来
原标题:Unable to completely force browsers to cache resources - gsCacheBuster comes in

Proper caching is very important for us as we aim to reduce traffic. I ve configured communication for resources as so:

这是请求 URL :

http://www.mydomain.com/resources/product/assets/swf/modules/loader.swf?ver=1

这些是响应信头:

Accept-Ranges:bytes
Connection:Keep-Alive
Content-Length:14622
Content-Type:application/x-shockwave-flash
Date:Tue, 22 May 2012 09:16:41 GMT
ETag:"7804f-391e-4c08e046d3ec0"
Keep-Alive:timeout=15, max=96
Last-Modified:Mon, 21 May 2012 16:01:39 GMT
P3P:CP="HONK"
Server:Apache

我需要迫使浏览器隐藏我过去的资源,据我所知,这些信头应该足以隐藏资源,但是...

对于某些资源来说,一个叫 GscacheBuster 的奇怪的东西, 进来:

请求 URL :

http://www.mydomain.com/resources/product/assets/images/image1.png
?gsCacheBusterID=1337684498911&purpose=audit&ver=1

修改 URL 和资源不会缓存。

您可以看到我们已在客户端( 此处为 Flash ) 中安装了功能, 以在请求的同时传递一个 < strengeññem> ver 参数, 以确保当前版本被下载。 这样我们的目标是维持资源版本的版本, 并强制浏览器以相同版本缓存资源 。

我不知道为什么这个缓存布斯特出现 并且找不到任何信息。它出现在所有的浏览器中。

最佳回答

事实证明它是一个装载器Max 属性, 因为我们在 Flash 客户端使用 Greensock 库。 它可以被禁用, 因为它会设置设置错误的设置错误, 并删除审计 。

问题回答

暂无回答




相关问题
Write-though caching of large data sets in WCF?

We ve got a smart client that talks to a SQL Server database via WCF, displaying the entities in the database, and allowing the user to edit those entities. Some of the WCF calls return a large data ...

Clearing RSL in Cache

I have built a flex application which has a "main" project and it is assosciated with a few RSL s which are loaded and cached once i run my "main" application. The problem i am facing is that the ...

how to tell clicking "back" to load cache?

I would like for my site when someone clicks "Back" or "Forward" for the server to tell the browser to load the cache instead of reloading the entire page. I ve tested some headers and done research, ...

java plugin cache and dynamic IP host

I m trying to use Amazon S3 and Amazon Cloudfront CDN to deliver the jar files of my applet application. I m seeing several cache misses of my jars by the java plugin. This is a show-stopper for me, ...

Frequently Used metadata Hashmap

Are there any implementations of a static size hashtable that limits the entries to either the most recently or most frequently used metadata? I would prefer not to keep track of this information ...

PHP - Memcache - HTML Caching

I would like to create a caching system that will bypass some mechanisms in order to improve the performance. I have some examples: 1-) I have a dynamic PHP page that is updated every hour. The page ...

Performance of Sql subqueriesfunctions

I am currently working on a particularly complex use-case. Simplifying below :) First, a client record has a many-to-one relationship with a collection of services, that is, a single client may have ...

热门标签