sitespeedio / sitespeedio/sitespeed.io

Allow uploading to different sub folder in S3

Open
#2,257 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature request s3
Dominant language
JavaScript
Stars
5k
Forks
624
Avg merge
4h 8m
Merged PRs (30d)
2

Description

I would like to suggest a feature request.
Currently, there is no option to specify the high-level subfolder within an S3 bucket to upload the files to.
Meaning, given bucket X, all files will be uploaded to S3 in the form:
x
|_url1
|_url2

I would like to be able to specify the high-level folder in which the URLs will be stored.

The need

I'm using the tool to test our URLs from different regions worldwide in order to mimic users from different places around the world.
The URL of the website is the same, but the user is coming from a different location. Just setting up a new EC2 instance on different AWS region.

I would like to separate the results from different locations without creating a bucket for each location, it's a bit messy.

If anyone has any idea on another approach to do that, I would love to hear it :)

Example

X
|_Ohio
| |___url1
|_Tokyo
|___url1

More info

Version: 8.0.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named. Start by locating the S3 upload configuration and the code that constructs object paths, then trace how command-line or configuration options reach it. Done means uploads can be separated under a user-selected high-level prefix without requiring a bucket per region, with coverage for the new option.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.