runtime: php55
api_version: 1default_expiration: "28d"handlers:
- url: /build
static_dir: build
Cache-Control and Expires HTTP response headers, and therefore, the files are likely to be cached by the user's browser, as well as by intermediate caching proxy servers such as Internet Service Providers. After a file is transmitted with a given expiration time, there is generally no way to clear it out of intermediate caches, even if the user clears their own browser cache. Re-deploying a new version of the app will not reset any caches. Therefore, if you ever plan to modify a static file, it should have a short (less than one hour) expiration time. In most cases, the default 10-minute expiration time is appropriate.Hi Sam,
As it is mentioned in the Google Documentation, once the file is cached on the users end, it stays there for the time specified in the handler. Since your default expiration is set to 28 days, the cached file will expire and ready to be updated after 28 days.
However, as Jason mentioned, there are common techniques that can be applied to help you save time and avoid the delay. You can refer to the following link to get a better idea of what techniques can be used which may help you in this case: https://css-tricks.com/strategies-for-cache-busting-css/