Sign in

add metadata/http headers to aws

  • This topic has 2 replies, 2 voices, and was last updated 2 years, 11 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #3944
    Avatar photobtrem

    There should be a way to attach metadata to AWS objects uploaded by Publii, especially http response headers like content type and cache-control. I can add metadata to an object using AWS’s web interface, but each time Publii uploads a new copy of the file, the metadata is erased. In a non-Publii project using AWS S3, our team uses a Python script that adds headers each time a file is uploaded to a bucket, based on file type. Something like that in Publii would be very useful, perhaps with settings for home page, posts, assets, and media.

    Avatar photoTomasz Dziuda


    I will add this to my ToDo for one of the next releases.

    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    Avatar photobtrem

    That’s really good news. I believe setting http headers is a crucial and necessary task for a web dev.

    I went to¬† to poke around and see if it’s something I could work on, but I didn’t really see anything relevant. It might be over my head.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.