Xurxo DZ Posted March 20, 2017 Share Posted March 20, 2017 Hi everyone! I'm trying to reduce the loading time of my store. I detected this call in the header: <script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=true"></script> Is there a way of removing it? In the header.tpl file I just found this: {foreach from=$js_files item=js_uri}<script type="text/javascript" src="{$js_uri|escape:'html':'UTF-8'}"></script>{/foreach} I can't find what module/controller/whatever is inserting it... Any ideas? Link to comment Share on other sites More sharing options...
Xurxo DZ Posted March 21, 2017 Author Share Posted March 21, 2017 (edited) Nobody? I found this line in StoresController.php but I don't know if it's safe to remove it or change it to 'removeJS'. Edit: I can't paste the code, so I attach a screenshot... Edited March 21, 2017 by Xurxo DZ (see edit history) Link to comment Share on other sites More sharing options...
Xurxo DZ Posted March 23, 2017 Author Share Posted March 23, 2017 So, no ideas? I didn't manage to solve this so far... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now