Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1377841

    hi there

    i added the code to custom javascript and it doesn’t seeum to work. Not sure what i am doing wrong

    #1377875

    Rue Nel
    Moderator

    Hello There,

    It seems that you are using a plugin or a server feature that merge all your JS scripts. For the moment, this is a conflict with the JS not being updated and this is why there is an issue. Could you please disable this? I am guessing that you are using PageSpeed? All these featured are useful for site’s performance. I would highly suggest the temporarily disable this features during development. This can cause your latest changes to not take place on the front end. It will eventually show up when the cache regenerates, but it’s not ideal if you’re looking to see your changes immediately. Caching and performance plugins are best to turn on only when you’ve finished building the site.

    Hope this helps.

    #1377889

    hi

    I have no cache plugin running at all. I tried disabling the few plugins that i do have and it still doesnt work.

    #1377931

    Rue Nel
    Moderator
    This reply has been marked as private.
    #1379383

    hi
    I am not quite understanding your suggestion. That doesn’t fix the problem long term. Is there not a solution to the problem?

    #1379753

    Joao
    Moderator

    Hi There,

    Please contact your hosting service and ask them to turn off the PageSpeed module.

    Let us know how it goes,

    Joao

    #1380327

    so that does mean X theme is not compatible with pagespeed if we want to load additional javascript?
    sorry i just don’t understand the technical reasons.

    #1381849

    Rad
    Moderator

    Hi there,

    It is compatible, but any theme and plugins will not work along with Pagespeed if you don’t manage it properly. You should know when to clear and purge the caches and minified files, like after updates, installation, and custom changes. We only suggested to turn it off since you’re in the middle of customization. All caches and minification should be enabled only when you’re done with everything else (production site). Else, you’ll see your changes (dynamic) to served cache (static).

    Thanks.