Skip to content

Commit

Permalink
fix(signage): caching and cache busting updates
Browse files Browse the repository at this point in the history
  • Loading branch information
stakach committed Aug 19, 2024
1 parent cab2fec commit 5afd957
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shard.lock
Original file line number Diff line number Diff line change
Expand Up @@ -227,15 +227,15 @@ shards:

placeos-core:
git: https://github.com/placeos/core.git
version: 4.14.4+git.commit.d52544e18d733c1f7864ba8868795afd1f7f50f0
version: 4.14.5+git.commit.67c43a393f1e4ee7247bd7ab040443573d59a7bf

placeos-core-client: # Overridden
git: https://github.com/placeos/core-client.git
version: 1.0.6

placeos-driver:
git: https://github.com/placeos/driver.git
version: 7.2.1
version: 7.2.2

placeos-frontend-loader:
git: https://github.com/placeos/frontend-loader.git
Expand All @@ -247,7 +247,7 @@ shards:

placeos-models:
git: https://github.com/placeos/models.git
version: 9.57.1
version: 9.57.2

placeos-resource:
git: https://github.com/place-labs/resource.git
Expand Down
1 change: 1 addition & 0 deletions src/placeos-rest-api/controllers/signage.cr
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ module PlaceOS::Api
system.playlist_media = ::PlaceOS::Model::Playlist::Item.where(id: media_ids).to_a

# ensure response caching is configured correctly
response.headers["Cache-Control"] = "no-cache"
system
end
end
Expand Down

0 comments on commit 5afd957

Please sign in to comment.