Skip to content

Updated Readme.md - #19

Open
DaRosenberg wants to merge 1 commit into
masterfrom
DanielStolt-patch-1
Open

Updated Readme.md#19
DaRosenberg wants to merge 1 commit into
masterfrom
DanielStolt-patch-1

Conversation

@DaRosenberg

Copy link
Copy Markdown
Contributor

Simplified the readme a bit to a format I think we should employ for all free modules. Rewrote the section on AJAX widgets to make it completely unrelated to caching. Corrected inconsistent license reference (BSD vs. MIT). Added paragraph on how widget output caching feature relates do IDeliverable.Donuts.

Simplified the readme a bit to a format I think we should employ for all free modules. Rewrote the section on AJAX widgets to make it completely unrelated to caching. Corrected inconsistent license reference (BSD vs. MIT). Added paragraph on how widget output caching feature relates do IDeliverable.Donuts.
Comment thread Readme.md
Without changing any code or markup, widgets can be configured to be output cached independently of the surrounding page. The output cache duration can be configured per widget. To enable output caching of individual widgets, **IDeliverable.Widgets** provides a content part named `OutputCachePart`. Simply attach it to any widget content type to be able to control, per widget, whether it should be output cached or not and for how long.

**IDeliverable.Widgets** solves this problem by providing a content part named `WidgetsContainerPart` which can be added to any (non-widget) content type (such as *Page* for example). With this content part attached, you can now add widgets to a specific content item of that content type, without the need to create a dedicated widget layer for it.
**NOTE:** This feature is a very rudimentary way to achieve donut hole caching, and it has significant limitations. For a much more robust and complete implementation of donut caching and donut hole caching for Orchard, please refer to the [IDeliverable.Donuts module](http://www.ideliverable.com/products/premium-orchard-modules/ideliverable-donuts) which is more likely to be actively developed going forward.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sfmskywalker This is the critical section as discussed. I'm quite happy with the wording, hope you are too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant