A
A
Alexander2018-01-24 20:59:45
css
Alexander, 2018-01-24 20:59:45

How to disable changing image titles in google pagespeed?

There is a problem with pagespeed. I'll give you an example. There is an image that is loaded through both css and js. Accordingly, pagespeed can only process an explicitly specified image address in css, but not dynamically generated via js (well, this is logical). As a result, a certain key is added to the image name in css (as I understand it, it is responsible for ensuring that when the image changes, it immediately changes for everyone without caching problems), but js does not and the browser loads 2 absolutely identical images. In general, I don't really need the function to add a key to the image name, so I see the solution to the problem in using the original filenames, but I don't know how to disable this particular part of the functionality without affecting the image optimization itself.
I would be very grateful for a solution to this problem.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question