grtjn / view-file-ng

Angular directive for previewing files.
https://grtjn.github.io/view-file-ng
Apache License 2.0
10 stars 1 forks source link

Friendly views not updated #19

Open grtjn opened 6 years ago

grtjn commented 6 years ago

Probably caused by angular http or templateCaching..

grtjn commented 6 years ago

On second thought, that was probably deliberate, to speed up navigation back and forth. Need to document how to flush the cache though..

mariannemyers commented 6 years ago

Would I see this problem when editing a record in our sample data that ships with slush-marklogic-node? For example, I edit the first record, changing the name. The edit does update the document in MarkLogic, but I don't see it in the "pretty print" view. I do see the updated field in the JSON view of the data.

I am seeing this with my a webapp generated by my slush-marklogic-dotnet project and was wondering if Kestrel was doing something unexpected in the ASP.NET Core 2.0 vs the prior 1.x version.

grtjn commented 5 years ago

I should probably have made the caching in view-file optional, defaulting to true for backwards compat..