remark42 icon indicating copy to clipboard operation
remark42 copied to clipboard

ghost.svg caching

Open Ivan-Chupin opened this issue 2 years ago • 1 comments

Remark42 currently returns the "cache-control: max-age=3600, no-cache" HTTP header for the ghost.svg file. Using the "no-cache" directive is pointless and only creates useless traffic. It would be correct to use the "cache-control: max-age=3600" header, as for all other avatars.

Ivan-Chupin avatar Jan 22 '23 17:01 Ivan-Chupin

It's the same for all frontend files, as ghost.svg is one of the static frontend files. I vote against introducing granular control of headers per frontend file just for the sake of a single 2kb file.

paskal avatar Feb 05 '23 21:02 paskal