You are not logged in.

tsukada

Beginner

  • "tsukada" started this thread

Posts: 27

Location: Tokyo, Japan

Occupation: Programmer

  • Send private message

1

Monday, October 17th 2016, 3:14am

How to merge all xml and js files into one

Hi,

Is there any way to integrate all krpano and plugin xml files and js files into one xml file and js file respectively so as to minimize loading speed?
I tried simply replacing include tags with included files contents but it did not work maybe due to path resolution.

Umalo

Professional

Posts: 1,051

Location: Osijek, Croatia, EU

  • Send private message

2

Monday, October 17th 2016, 11:18am

I would suggest minimize xml files in case they are big and there you will have significant load time reduction.

3

Tuesday, October 18th 2016, 6:56pm

Is there any way to integrate all krpano and plugin xml files and js files into one xml file
That's possible, but would need to be done manually.
And the relative url paths in the related/included xml files would need to be adjusted of course.

To make the xml file smaller for faster loading, it's additionally also possible to encrypt it (using the Encrypt Tool) - together with the encryption the file will be also compressed.

Best regards,
Klaus