Cloud run seems to timeout and generate HTTP 304 responses for application endpoints that don’t check last modified headers or other etags
I have a Rails application on cloud run with an endpoint called by our apps to determine if their version is current and if not, requires a download. This is a simple, one record read of the database in a table of less than one hundred records and the vast majority of the time the endpoint returns in a few milliseconds. According to the logs most of the time the records is read form SQL cache and the SQL query and system insights never show any load or locks on the DB.