1

We have a ASP.NET site which is using squishit with # appended to the end of the name of the newly generated file. This project is calling another PHP site which is hosted on an outside server. Is there a way to call the generated js and css bundles from our PHP site?

Kremena Lalova
  • 531
  • 1
  • 4
  • 17
  • 1
    One thing you could do is "sign" your resources at build time by calculating hashes and then get that information to your PHP application somehow. You would just need to make sure that you don't do asset-only deployments, as the new key would not have the updated hash (unless you did a custom renderer that broadcast the updated hash through a web service or something). – AlexCuse Mar 28 '14 at 01:13

1 Answers1

1

Not really, you can link to the asset statically but have no way to figure out what will replace the #. Your best bet is probably to switch to querystring invalidation (just remove the '#' from your output filename) and figure out a way to ensure that the right version is retrieved in the PHP app (easier said than done if they are deployed separately).

AlexCuse
  • 18,008
  • 5
  • 42
  • 51