dalenguyen / firebase-wordpress-plugin

A plugin that helps to integrate Firebase to WordPress
https://firebase-wordpress-docs.readthedocs.io
GNU General Public License v2.0
111 stars 31 forks source link

Sync WordPress Media Library with Firebase Storage #116

Closed martijnvanderlaan closed 2 years ago

martijnvanderlaan commented 4 years ago

Is your feature request related to a problem? Please describe. I am currently syncing my WordPress post data to Firebase Storage, because in that way, my website server doesn't get a lot of traffic and my app users get the information more quickly. The problem: media in the posts are still just urls referencing to the Media Library, so it still generate a lot of downloads from the server.

Describe the solution you'd like Just like the sync between the WordPress post data to Firebase Storage, I would like a sync between the Media Library and Firebase Storage. For me, I only need Wordpress --> Firebase Storage, but maybe other users will use it the other way around.

Describe alternatives you've considered In my app when loading a post with media, check if the media exists in Firebase Storage, if not, download it from the website and store it in Firebase Storage. So of course it can be done with custom code, but I would love to have it done automatically by the plugin.

Which fields does it relate to? WordPress Media Library, Firebase Storage.