xsp.application.context.proxy

Just a reminder for myself: To use a CDN for XPage resources, you can add a leading slash to the xsp.application.context.proxy property.

xsp.application.context.proxy=/cdn.hasselba.ch

2015-06-17 10_52_08-view-source

 

Dieser Beitrag wurde unter Performance, Web, XPages abgelegt und mit , , , , verschlagwortet. Setze ein Lesezeichen auf den Permalink.

4 Antworten zu xsp.application.context.proxy

  1. Michael Bourak sagt:

    Interesting !

    Does it only prefixes path to ressources ? or other kind of links / side effect ?

  2. Chris Eggenberger sagt:

    Habe durch Zufall deinen Blog entdeckt und schlage mich gerade mit diesem Property herum 🙁

    Sobald der Wert gesetzt ist, wirft das Frontend „ReferenceError: XSP is not defined“
    sowohl in der xsp-mixin.js:68 als auch in der test.xsp

    Selbst wenn ich nur den Wert /localhost setze funktioniert es nicht.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.