W3 Total Chache Changing Filename Extensions
-
Hi,
I noticed that with W3 Total Cache enabled, the filenames listed for media files is changed to append some extra characters onto the filename extension. I’m assuming these are the cached versions of the files (JPEG images, PDF files, etc.)?!?While the links still work properly, and links to the appropriate master file when downloading a PDF for instance, it’s broken some styling we were doing.
– Will we always have filename extensions altered when using W3?
– If so, does anyone have a workaround for styling links using the filename attribute, looking for a consistent ending (extension) to the filename?
EXAMPLE: We currently style all PDF downloads with a little PDF icon. We target these links using: ‘a[href$=”.pdf”]’. But since W3 is adding extra characters to the end, it doesn’t find .pdf anymore (it’s now something like ‘filename.pdf?6a7aa3’).
THANKS!
- The topic ‘W3 Total Chache Changing Filename Extensions’ is closed to new replies.