onOffice-Web-Org / oo-wp-plugin

onOffice for WP-Websites
https://wp-plugin.onoffice.com
GNU General Public License v3.0
9 stars 9 forks source link

Caching duration setting #720

Closed fredericalpers closed 2 months ago

fredericalpers commented 8 months ago

Initiative

Improve the onOffice for WP-Websites Plugin usability

Epic

Implement caching duration setting

User story

As a real estate agent managing a dynamic and frequently updated website, I find the current caching period of 1 hour in the onOffice for WP-Websites Plugin restrictive. To adapt to varying update frequencies and ensure that the latest property information is consistently reflected on my website, I require the ability to customize the caching duration according to my specific needs.

The onOffice plugin currently imposes a fixed caching of 1 hour, meaining that property information is refreshed at set intervals unless the cache is manually cleared. However, this might not align with the updated frequency of property data in my property portfolio. To address this limitation, I propose the introduction of a customizable cache duration feature that allows me to set the caching period to a time frame that suits the dynamics of my property listings.

Tasks

DE: Der Wert Cache-Laufzeit bestimmt, nach welchem Zeitraum der Plugin-Cache deiner Seite neu befüllt wird. Dieser Wert steht standardmäßig auf 1 Stunde.

EN: The Cache duration value determines the period of time after which the plugin cache of your page is refreshed. This value is set to 1 hour by default.

By providing the option to customize the caching duration, the onOffice for WP-Websites Plugin can offer real estate agents greater flexibility and control over how frequently property information is updated on their websites. This customization ensures that the plugin accomodates a variety of use cases and aligns with the diverse needs of real estate professionales.

Caching-Duration-setting

dai-eastgate commented 8 months ago

@fredericalpers I need a day to implement and test it. Thanks!

dai-eastgate commented 8 months ago

@fredericalpers I have implemented the cache duration settings. Please watch my video demo and let me know your opinions. Thanks! https://github.com/onOffice-Web-Org/oo-wp-plugin/assets/106214469/8445bd4b-1328-454d-9ec2-4c70673c645f

fredericalpers commented 8 months ago

@dai-eastgate looks good to me! this is ready to be labeled as in review?

dai-eastgate commented 8 months ago

@fredericalpers Yeah sure, Please help us to review it. Thanks!