AKSW / site.ontowiki

HTML Content Publishing system on top of Linked Data
6 stars 7 forks source link

Enabled frontend caching leads to 404 responses #41

Closed haschek closed 9 years ago

haschek commented 10 years ago

If the frontend cache is enabled and the cached resource is available (and returned) then the site helper adds a 404 HTTP response code.

This happens in the onIsDispatchable method after testing a event value that probably need to be set before by onIsDispatchable method of the Linked Data plugin (checking if the requested resource is available in the knowledge base). Problem: the method of the Linked Data plugin is executed after the SIte Extension helper method.