Cache control

Last post 09-03-2008 9:42 PM by joe.aston. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 01-22-2008 7:27 PM

    • AdamB
    • Top 10 Contributor
    • Joined on 09-28-2007
    • Posts 40

    Cache control

    Is there any method of controlling content expiration, or setting the content expiration headers of a file (either after the fact or while uploading) for publicly available files?

    Thanks!

    Adam 

    Filed under:
  • 01-24-2008 3:15 PM In reply to

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 602

    Re: Cache control

     You have an interesting ability to know what we were talking about the day before and ask for it!  We do not have this feature yet but we have been discussing the best way to go about it.  Not only that but being able to general header customization.  There will be more available later but we are still discussing this feature.

    Regards,
         Barry R.

    IM Support (Feel free to add me)

    MSN: barryruffner@msn.com
    Gmail: barryruffner@gmail.com
  • 05-08-2008 7:58 AM In reply to

    Re: Cache control

     Hi,

    Do you have any updates on this?   Adding an Expires header control is a huge requirement for me to decide to move over from S3. Any timeframe?

     Also, if/when implemented will it be available to existing files in the system, or just new uploads?  (e.g. with amazon you have to specify the headers when uploading)

    thx

    mm


     

  • 05-08-2008 10:20 PM In reply to

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 602

    Re: Cache control

    For expiration we always try to cache for as long as possible meaning we always try to tell the external client to cache indefinately using max-age=0 as long as the ETag is unchanged:

     

    Cache-Control: private, must-revalidate, max-age=0\r\n
    ETag: "2412e7ab-56c021b3"\r\n

    This means the cache is instructed to hold the file unless the ETag has changed.  At very least the ETag needs to be checked each time the file is downloaded.  There is no charge for a request to determine if the ETag so you will not incur bandwidth charges for something that has been cached and has not changed (assuming you are using a standard cachable HTTP/1.1 compliant app like Firefox or other modern browsers.)

    The ability to return custom headers is still a feature we are working towards, I do not have a specific time frame yet.  Please let me know if you need something specific from the headers since this will help us determine the priority of our features.

    Regards,
         Barry R.

    IM Support (Feel free to add me)

    MSN: barryruffner@msn.com
    Gmail: barryruffner@gmail.com
    Filed under: , ,
  • 08-06-2008 1:16 PM In reply to

    • kyohi
    • Top 200 Contributor
    • Joined on 08-06-2008
    • Posts 1

    Re: Cache control

    Hi, I'm also really wanting the custom header feature. Etag caching is fine, but since most of my hosted files don't change, I like to set header something like "Cache-Control: max-age=31536000" to cut http request. Is this feature possibly coming in near future? Thanks, Kyohi
    Filed under:
  • 08-08-2008 7:52 AM In reply to

    • BarryR
    • Top 10 Contributor
    • Joined on 07-20-2007
    • San Diego
    • Posts 602

    Re: Cache control

    We do have a large number of requests for this feature so it is high on the priority list.  I do not have a specific time that this feature will be added.  I will keep everyone apprised should a date become available.

    Best,
        Barry R.

    IM Support (Feel free to add me)

    MSN: barryruffner@msn.com
    Gmail: barryruffner@gmail.com
  • 09-03-2008 9:42 PM In reply to

    Re: Cache control

    Lack of header support is the only sticking point preventing me from switching to Nirvanix from Amazon S3.

    I must be able to set Content-Encoding and Cache-Control headers before I can use Nirvanix.

    Please work on this as a priority!

Page 1 of 1 (7 items)