Hi everyone!
I would like to expose a problem I'm facing with AppEngine services.
I have a Python application, based on Rest services.
I have one service which is in charge of upload a document and store it 
into a Cloud Storage bucket, create and identifier and store such 
identifier in a database,
For example:
POST /uploaddocument
Request body:
{
    "base64document":"base64_encoded_document"
}
Response:
{
    "document_id":"abc1234def5678"
}

Now, I have another service which retrieve such document from the storage, 
like this:
GET /retrievedocument?document_id=abc1234def5678
This service returns an "application/pdf" mime type.

For the moment everything works perfect. However, if I upload a new version 
of this document, the service "/retrievedocument" returns the old version, 
like if it would be cached, and request is not being processed by my 
service because I don't see any logs about this request. It is like this 
request would being served by a CDN or something like this, not by my 
application.
In addition, if I wait some time (more than an hour) then the request is 
again processed by my application and return the correct version of the 
document, like if cache would be expired.

I would like my service to be returning always the latest version of the 
document, not a cached one.

Have anyone of you faced this kind of problem any time?
Does anyone know how to solve it?

Thank you!

Kind regards,
Iñigo.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/30d78521-5658-4e92-9ed4-18efa250a78en%40googlegroups.com.
  • [google-appengine... Iñigo Martínez de Ubago Vela
    • [google-appe... 'Elliott (Cloud Platform Support)' via Google App Engine
      • [google-... Iñigo Martínez de Ubago Vela
        • [goo... 'Christian Gonzalez' via Google App Engine

Reply via email to