Post by danishmagic » Fri Feb 08, 2019 3:04 pm

Hi,

I have a website and its performing slow due to JavaScript files.

This is the url of the js file: https://webdesign-r.in/wp-content/cache/minify/eace4.js

I need your expert advice as how can I resolve this issue.

Website designing & Development - https://webdesign-r.in
Indian Matrimonial sites - https://nikahmatrimonial.com


New member

Posts

Joined
Sun Oct 21, 2018 11:13 am
Location - India

Post by IP_CAM » Sat Feb 09, 2019 8:25 am

Well, that's not an OpenCart related Code, but Wordpress related. But
generally, Software like OC and WP requires some JS-Files, to be placed
and work in Header Code, or they will not 'initialize/link' everything required,
to make an 'Framework-generated' Server Output Page work as planned.

You could 'compress' the JS File itself a little, to 'avoid' ~165 surplus Carriage
Return Code and the Comments.
https://theasciicode.com.ar/ascii-contr ... de-13.html
But it also depends of a compression level chosen, so, be aware,
that not every JS File can be compressed to it's highest
Value, and still functions. I added a full compressed file below.

Try it out, and if it does not function, search GOOGLE for JS-Compressors, and
try some other compression-values. That's all, you can do about. But Site Test
Tools do not know, if they test a simple HTML Page, or a Framework-generated
HTML Layout, and only judge on what they read, and not, on what it's created
from. It's their limited 'Wisdom' about such minor differences, and nobody else's fault.

Good Luck !
Ernie

I don't use Forum Mail, to reach me, contact: jti@jacob.ch
-
Demoversion OpenCart LIGHT v.1.5.6.5
http://www.bigmax.ch/
1'500+ FREE OC Extensions - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
-
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 32 guests