My old version files are still appearing in Google App Engine (URL) even when:
- I tested new version after uploading ( 2.appid.appspot.com)
- Made new version as default version from dashboard.
- deleted old version.
- Cleared memcache
All new directories and files are created, but old files are not overwritten.
Okay let me put it in detail, initially i created version 1 using app.yaml:
application: app-id
version: 1
runtime: python27
api_version: 1
threadsafe: yes
default_expiration: "7d"
handlers: - url: /static/(..html) static_files: static/\1 upload: static/(..html)
url: /static/(..(css)) static_files: static/\1 upload: static/(..(css))
url: /static/(..(bmp|gif|ico|jpeg|jpg|png))$ static_files: static/\1 upload: static/(..(bmp|gif|ico|jpeg|jpg|png))
url: /static/(..(bmp|gif|ico|jpeg|jpg|png))$ static_files: static/\1 upload: static/(..(bmp|gif|ico|jpeg|jpg|png))
url: /static/(..mp4) static_files: static/\1 mime_type: static/mp4 upload: static/(..mp4)
url: .* script: main.app
libraries: - name: webapp2 version: "2.5.2"
then I created version 2 by using same app.yaml:
application: app-id
version: 2
runtime: python27
api_version: 1
threadsafe: yes
default_expiration: "7d"
handlers: - url: /static/(..html) static_files: static/\1 upload: static/(..html)
url: /static/(..(css)) static_files: static/\1 upload: static/(..(css))
url: /static/(..(bmp|gif|ico|jpeg|jpg|png))$ static_files: static/\1 upload: static/(..(bmp|gif|ico|jpeg|jpg|png))
url: /static/(..(bmp|gif|ico|jpeg|jpg|png))$ static_files: static/\1 upload: static/(..(bmp|gif|ico|jpeg|jpg|png))
url: /static/(..mp4) static_files: static/\1 mime_type: static/mp4 upload: static/(..mp4)
url: .* script: main.app
libraries: - name: webapp2 version: "2.5.2"
tested version 2 i.e. 2.app-id.appspot.com was working
went to dashboard made version 2 as default and then i deleted version 1 , but now:
1) static folder had 1 file named side.css (in version 1) and modified side.css (in version 2 ) and both are available via app-id.appspot.com/static/side.css and 2.app-id.appspot.com/static/side.css (modified)??
How can I remove old side.css available at app-id.appspot.com/static/side.css ???