--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
I have two versions of the code: "dev" and "main"
"main" is the default version.
I upload the new code to the "dev" version and test if the update is
working by using the url
http://dev.appname.appspot.com
Then temporarily make "dev" the default version.
Upload the code to "main" and make "main" the default.
This method never failed for static content (css,js). I need to force
reload shift-ctrl-R the page to ignore the browser cache content.
If you apply a cache buster to your css link your users will see the
updated css immediate.
<link type="text/css" rel="stylesheet" href="/css/style.css?ver=20120104">
You need to change the string anytime you upload a new version. If you
use source version control you can use the version number of the css
file.
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/pHRtc8Qw1swJ.
It effects other assets. But yes Mime Type bothers Chrome more. Especially on CSS.
I believe it is an issue with Google “Front end” not GAE (just looking at the ‘black box’)
We have seen this on Python, and Java, with both static and non-static assets. However unlike the behavior described in the bug, we were able to solve the issue by specifying headers with expiration. However we found that we had to get all of our semi-colons and spacing correct or “Front End” would ignore them. The first time a URL was served it would not have a specified Mime type, and after it would use the Detected mime type regardless of the mime type we told it. (if we had any header specified with a semicolor, space, or anything else not to it’s liking)
sorry working remotely I don’t have a link to where it is still broken in old code that we test from time to time, and I don’t have the forum post I made that talks about getting the headers “right”
To Ikai’s question about if this is happening in Python. I thought I had seen it in Python, but upon inspection that was a Java Version of our app that we hadn’t migrated to Python. So disregard my earlier mention that it happens on Python as well.
I happened to add a new css file to my application, and it is
returning "Content-type: null" for the newly added css file, despite
the explicit mime mapping in web.xml.
However, my existing css files still have the correct mimetype.
We think we know what's happening. This is something that is happening at app upload time. Can you try passing this parameter when using appcfg.sh?appcfg.sh --no_batch update [YOUR_WAR_DIRECTORY]