wp-stateless | WordPress plugin that uploads and serves your WordPress | Content Management System library
kandi X-RAY | wp-stateless Summary
kandi X-RAY | wp-stateless Summary
Upload and serve your WordPress media from Google Cloud Storage (GCS) with the WP-Stateless plugin. In as little as two minutes, you will be benefitting from serving your media from Google Cloud's distributed servers. New to Google Cloud? Google is offering you a $300 credit to get you started.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Key exchange algorithm .
- Parse public exponent .
- Generate inlinecrypt function .
- Checks if code point is in range
- Parse an attribute value .
- Append a string to a string
- Divide this number by another .
- Hashes the SHA - 512 algorithm
- Apply the options for the handler .
- Setup inline - crypt functions .
wp-stateless Key Features
wp-stateless Examples and Code Snippets
Community Discussions
Trending Discussions on wp-stateless
QUESTION
I'm using gcs bucket for wordpress (wp-stateless plugin) after create and upload media file to a bucket. I copy it to other bucket (duplicate). But generation number of each object has been change (maybe random).
My question is: How to keep generation number same bucket source like in destination bucket?
Thanks in advance.
...ANSWER
Answered 2022-Mar-28 at 05:34Basically, there’s not an official way of keeping the same version and generation numbers when copying files from one bucket to another. This is WAI and intuitive because the version number refers to this object (which resides on this bucket), when you copy it to another bucket, it's not the same object (it's a copy) so it cannot keep the same version number.
I could think of a workaround, keeping somewhere your own version of the objects and then through the API make an organized copy. This would mean you would be dumping the bucket but you would need to have a list of all the objects and its versions and then add them in sequential order (sounds like a lot of work). You could keep your own versioning (or the same versioning) in the metadata of each object.
I would recommend that if your application depends on the object’s versioning, to use custom metadata. Basically, if you did your own versioning using custom metadata, when copying the objects to a new bucket, it would keep the same metadata.
There is already a feature request created about this. But, it has mentioned that it's currently infeasible.
However, you can raise a new feature request here
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install wp-stateless
Search, install, and activate the WP-Stateless plugin via your WordPress dashboard.
Begin WP-Stateless setup assistant at Media > Stateless Setup and click "Get Started Now."
Click "Google Login" and sign-in with your Google account.
Set a Google Cloud Project, Google Cloud Storage Bucket, and Google Cloud Billing Account and click "Continue."
Installation and setup is now complete. Visit Media > Stateless Settings for more options.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page