• Resolved joy0114

    (@joy0114)


    Hi,

    I would like to localize JS files from Google that are used by the “Places” API.

    I am using this API for address autocompletion.

    These files are:

    https://maps.googleapis.com/maps-api-v3/api/js/63/5d-beta/intl/fr_ALL/places.js
    https://maps.googleapis.com/maps-api-v3/api/js/63/5d-beta/intl/fr_ALL/main.js
    https://maps.googleapis.com/maps-api-v3/api/js/63/5d-beta/intl/fr_ALL/common.js
    https://maps.googleapis.com/maps-api-v3/api/js/63/5d-beta/intl/fr_ALL/util.js

    I added the first two to the LSCWP configuration, but I still have calls to Google to retrieve these JS files.
    JS purge was performed, and a complete cache purge was also performed, without success in localizing these files (at least the first two).

    Is this normal ? Can these files be localized ?

    This is not very important either, because these files are loaded after the page has been loaded for the visitor.

    Thank you for any advice.
    Best regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support qtwrk

    (@qtwrk)

    please provide the report number

    you can get it in toolbox -> report -> click “send to LiteSpeed”

    Thread Starter joy0114

    (@joy0114)

    Hi Qtwrk,

    Thanks for your reply.

    Last Report Number: FLSGQSXC

    Last Report Date: 12/23/2025 15:01:09

    For trying, it’s necessary to add something into cart, and then access to cart. Here, JS are loaded, but from maps.googleapis.com, and not from my domain.

    Perhaps, Google prevents this localization, I don’t know …?

    Plugin Support qtwrk

    (@qtwrk)

    because these files are loaded another JS file

    it’s like your page load JS 1 , JS 1 loads JS2 / JS3 from other domains , it’s like a chain reaction

    Thread Starter joy0114

    (@joy0114)

    Ok, so nothing to do for reducing external queries, I suppose ?

    Plugin Support qtwrk

    (@qtwrk)

    unfortunately no , I don’t think so , even localize the first script , the after script will still be loaded by external doaim

    Thread Starter joy0114

    (@joy0114)

    Okay, thank you for looking at my question.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.