Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Use Google CDN for a GAE hosted app
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
AleX  
View profile  
 More options Oct 17 2012, 11:42 am
From: AleX <zakapa...@gmail.com>
Date: Wed, 17 Oct 2012 17:42:33 +0200
Local: Wed, Oct 17 2012 11:42 am
Subject: [1.2.5] Use Google CDN for a GAE hosted app

Hello,

I host my app on Google App Engine using "play-gae" and siena module. So
far everything works well :)

We would like to use the Google CDN provided for GAE apps (
https://developers.google.com/appengine/docs/java/gettingstarted/stat...)
but all our static files are in "public" play folder. Is there anyone who
knows how can i tell to GAE to "CDN'd" these static files ?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "[1.2.5] Use Google CDN for a GAE hosted app" by Tom Carchrae
Tom Carchrae  
View profile  
 More options Oct 17 2012, 11:54 am
From: Tom Carchrae <t...@carchrae.net>
Date: Wed, 17 Oct 2012 08:54:24 -0700
Local: Wed, Oct 17 2012 11:54 am
Subject: Re: [play-framework] [1.2.5] Use Google CDN for a GAE hosted app

Not clear which CDN you are referring to.  The link you provided is for
including in a WAR - as Play has already done for you in the public dir.

Now if you want them to be hosted on a read CDN (not GAE), then you can
copy out the files and change all references to point to the CDN.  Perhaps
someone may have written a module for it but it is simple: just change the
URL that references each file in /public and point it to your CDN URL.

Tom


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Carchrae  
View profile  
 More options Oct 17 2012, 11:54 am
From: Tom Carchrae <t...@carchrae.net>
Date: Wed, 17 Oct 2012 08:54:46 -0700
Local: Wed, Oct 17 2012 11:54 am
Subject: Re: [play-framework] [1.2.5] Use Google CDN for a GAE hosted app

sorry, read -> real CDN (not GAE)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Carchrae  
View profile  
 More options Oct 17 2012, 11:58 am
From: Tom Carchrae <t...@carchrae.net>
Date: Wed, 17 Oct 2012 08:58:12 -0700
Local: Wed, Oct 17 2012 11:58 am
Subject: Re: [play-framework] [1.2.5] Use Google CDN for a GAE hosted app

I beg your pardon, I should have read your link more closely.

You probably want to specify the <static files> part of appengine-web.xml
and basically include the /public dir that way

https://developers.google.com/appengine/docs/java/config/appconfig#In...

Hope that makes more sense.

Tom


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AleX  
View profile  
 More options Oct 17 2012, 12:04 pm
From: AleX <zakapa...@gmail.com>
Date: Wed, 17 Oct 2012 18:02:35 +0200
Local: Wed, Oct 17 2012 12:02 pm
Subject: Re: [play-framework] [1.2.5] Use Google CDN for a GAE hosted app

Thank you Tom for your answer, i'll try it soon :)
Do you know if there is a way to determine if my static ressources are
served by my play app or by the static-ressources-dedicated-servers ?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Carchrae  
View profile  
 More options Oct 17 2012, 1:08 pm
From: Tom Carchrae <t...@carchrae.net>
Date: Wed, 17 Oct 2012 10:08:22 -0700
Local: Wed, Oct 17 2012 1:08 pm
Subject: Re: [play-framework] [1.2.5] Use Google CDN for a GAE hosted app

It has been over six months since I used GAE, but you may be able to tell
from the log.

Perhaps one way to tell would be to get a file that does not exist and see
if it generates a Play 404 vs the GAE static 404.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »