[ 4 posts ]

Kristian Ask

  • Username: Asken
  • Joined: Tue Nov 29, 2011 12:11 pm
  • Posts: 2
  • Offline
  • Profile

combo caching

Post Posted: Tue Nov 29, 2011 12:40 pm
+0-
Hi all,

I'm just trying yui out again. I'm having problems getting the example at http://yuilibrary.com/yui/docs/node/ to work. Code works fine but it's not caching the request. I get a 200 every call.

All other calls, html page, yui-min.js and my own js-file returns with a 304 but not the combo call.

/Kristian

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile

Re: combo caching

Post Posted: Tue Nov 29, 2011 12:44 pm
+0-
Our combo servers always return a 200 for comboed requests, we are working on getting this fixed but it's not our team that's responsible for it ;)

Kristian Ask

  • Username: Asken
  • Joined: Tue Nov 29, 2011 12:11 pm
  • Posts: 2
  • Offline
  • Profile

Re: combo caching

Post Posted: Tue Nov 29, 2011 9:43 pm
+0-
@Dav, thanks for the reply! Who should I push to get it done? :)

Another question though; for development the 200 is fine but when it comes to something running in production it seems like a waste of line speed. How can I use the yui stuff in a production setup? Can I use the yahoo servers to host the files or should I store the combo output on our own server(s)? Is that allowed?

/K

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile
Tags:

Re: combo caching

Post Posted: Wed Nov 30, 2011 6:28 am
+0-
I have been working on it for the last few months, hopefully it get's fixed soon ;)

As for the caching, you are still good with using our combo servers, since they are fast and edge cached..

Just because it's returning a 200 doesn't mean that it's not being cached since the expires header is set to a far future date:

https://skitch.com/davglass/gcx4u/yui-library

You can see that in Chrome it shows the combo request is pulled from cache.

https://skitch.com/davglass/gcx5b/yui-library
  [ 4 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum