Support » Plugin: WP Store Locator » How to edit wpsl-gmap.min.js

  • Resolved gasparirob

    (@gasparirob)



    I’m trying to edit the file wpsl-gmap.min.js but the browser doesn’t take the change: it will always load wpsl-gmap.min.js?ver=2.2.13 that overrides my changes. Even if I delete wpsl-gmap.min.js it still load the file (I don’t know how).

    I’ve also disabled W3 Total Cache, thinking some cache related thing..

    What am I doing wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    It has to be cached somewhere if the changes don’t show up.

    Can you try it in the private mode in your browser? Also try and ask your host if they are using any caching, and if so, if they can flush it ( maybe you can do this from the control panel on your host yourself? ).

    gasparirob

    (@gasparirob)

    Me too it’s a cache problem, but I think I’ve cleaned all server cache (I’m on a dedicated server, Centos 7 & Plesk 17), browser cache too (I’ve used a “clean” browser too: IE), but I still view a file that doesn’t exist:

    wp-content/plugins/wp-store-locator/js/wpsl-gmap.min.js?ver=2.2.13

    where wpsl-gmap.min.js has been renamed to wpsl-gmap.min.js.BAK

    But any string different from “2.2.13” leads to correct 404:
    wp-content/plugins/wp-store-locator/js/wpsl-gmap.min.js?ver=2.2.1 (for example)

    I’ve restarted the server too…

    gasparirob

    (@gasparirob)

    After 2 afternoons, I’m quite sure there were some misconfigurations between W3 Total Cache and Nginx reverse proxy… But I’m not sure where exaxtly the problem was. Even disabling and deleting W3TC I was getting the page cached by W3TC (via cUrl). Even disabling Nginx reverse proxy.
    I don’t know what I have done next, but now i get a correct 404!
    Now I’ll try to re-enable Nginx reverse proxy and reinstall W3TC (or maybe WP Super Cache?)

    Thanks anyway

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to edit wpsl-gmap.min.js’ is closed to new replies.