Reputation: 5226
Just getting going with Jekyll - running it on Debian, base install, base config.yml.
I am serving some static resources from a url ( and folder named the same )
/assets
How would I go about setting some cache headers on stuff in there ?
Done much searching and reading the docs and not much finding. Config setting ??
Hope I can be pointed in the right direction.
Cheers!
Rob
Upvotes: 4
Views: 1508
Reputation: 1695
One great alternative is the s3_website script (https://github.com/laurilehmijoki/s3_website). It syncs your static files with S3 from AWS and can set headers and also gzip selected files. It works really nice and does all with one command.
Upvotes: 1
Reputation: 411192
Headers, gzipping, and such would be handled by your web server, and the exact configuration mechanism and details will differ from server to server.
Upvotes: 5