Hello,
On 20-03-18 12:39:38, Julius Heyne wrote:
*Question:*
1. Does anyone know what process on server side results in loaded .png
files with a hash appended, like "logo.png?61f99" instead of
"logo.png"?
2. Has anyone had problems with this in the sense that instead of supplying
desired images, the cache is responding with same image for different
images?
1: The ResourceLoader adds the hash.
*Problem Example:* maps extension needs two icons:
marker-icon.png,
marker-shadow.png. The browser loads:
"marker-icon.png?2273e%22)marker-icon.png" and
"marker-icon.png?2273e%22)marker-shadow.png", but both files end up looking
like "marker-icon.png" image.
The question mark starts the query string, so the filename is everything
before the question mark, so in this case they are the same files.
--
Tobias Wiese
PGP KEY:
https://tobiaswiese.com/pgp.asc
PGP FPR: E1A7A8879BAD75B42D63F3310F067C2DD70E89A0