Litespeed Gtranslate.io cache problem




Wordpress LScache Plugin: Litespeed Gtranslate.io cache problem

Last Updated on: Wed, 15 Apr 2026 00:00:02
I use a plugin that does automatic language translation on my website. gtranslate.io The plugin has its own cache mechanism in the languages ??it translates. Every time I clean the cache, the js file extension changes, so there is incompatibility with the plugin. How do you think I can solve this. When I combine js and css, can the query work so that the url addresses will not change? This topic was modified 1 year, 10 months ago by Tayfun. The page I need help with: https://www.grandbazaarist.com/ Hi, I dont get it , does the translator also translate JavaScript or something ? or please directly state what is the issue you are facing ? like what is expected behavior , and what is the unexpected behavior ? Best regards, The message I received from gtranslate.io is as follows. Please consult your lscache cache plugin developer and ask them to not change the static file names. Here is an example for you again and Hi, I can see litespeed plugin which changes links to your static resources like this: flatsome-live-search-v477f70ac7816ca18d5c6bfc77d13f46bd55f1c2e.js When you clear the cache on your side it renames the file and the old one is gone forever. Please contact the plugin developer and ask to disable that feature, so that file names stay the same after cache cleanup. Thanks! Hi, from what you provided https://www.grandbazaarist.com/wp-content/cache/asset-cleanup/js/body-608ce9187528e86d6518bc638bbe9865fa8c91ef.js this is not from our plugin , but from Asset clean up our plugin modified files will come with path as /wp-content/litespeed/cssjs/xxxx.js Best regards, Actually, I try to compress css and js in asset cleanup until my problem is solved. Can I create static, invariant css and js merge file in litespeed? Hi, I am not sure on your case but from LiteSpeed cache part if the css/js source is not changed and link is same , the file name will be same example , first time it generates as aaaaa.js?bbbbb , then if you purge and regenerate the cache , this file will be like aaaaa.js?ccccc or aaaaa.js?ddddd and so on Best regards, The message gtranslate sent me is as follows. http://prntscr.com/wy1ka3 https://docs.gtranslate.io/en/articles/1871130-how-caching-works-in-gtranslate-network Hi, okay , I see now the issue is that GT also acts as caching layer I dont have good solution for this you can have 2 options on this case. 1. disable CSS/JS combine/minfy , so it wont generate these files 2. if GT provides some kind of API to allow you to purge cache on their side , then you can try to fire it up alone with LiteSpeed purge , so the cache on both part can be synced Best regards, Hi, Im going to mark this topic Resolved , due to lack of activity. If you still need help, please feel free to re-open it. When re-open it, please also change the topic status to not solved Best regards,



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference