Tagged: cornerstone
-
AuthorPosts
-
February 20, 2017 at 1:54 am #1377841
hi there
i added the code to custom javascript and it doesn’t seeum to work. Not sure what i am doing wrong
February 20, 2017 at 2:42 am #1377875Hello 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.
February 20, 2017 at 2:52 am #1377889hi
I have no cache plugin running at all. I tried disabling the few plugins that i do have and it still doesnt work.
February 20, 2017 at 3:45 am #1377931This reply has been marked as private.February 21, 2017 at 1:35 am #1379383hi
I am not quite understanding your suggestion. That doesn’t fix the problem long term. Is there not a solution to the problem?February 21, 2017 at 7:46 am #1379753Hi There,
Please contact your hosting service and ask them to turn off the PageSpeed module.
Let us know how it goes,
Joao
February 21, 2017 at 2:33 pm #1380327so 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.February 22, 2017 at 3:00 pm #1381849Hi 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.
-
AuthorPosts