Where should I place my callback to ensure that Freeway will drop the CSS for an element I removed with fwDelete()? It’s clearly not working in fwBeforeEndBody().
It’s harmless to leave it there, but wasteful and potentially could confuse another Action that was post-processing the CSS.
Hi Walter,
I’ve just been testing this and it looks like Freeway doesn’t do any garbage collection (resources, styles, etc) after calling fwDelete(). I recall logging a bug a while ago that has now been fixed where styles for non-published items were still getting published.
It would be good to have the application remove all of the dependancies of an item when that item is removed from the site.
Regards,
Tim.
On 2 Sep 2013, at 19:30, Walter Lee Davis wrote:
Where should I place my callback to ensure that Freeway will drop the CSS for an element I removed with fwDelete()? It’s clearly not working in fwBeforeEndBody().