Suggestion/New Feature: Plugin to work with WordPress on App Engine and Storage
-
Good evening,
I’ve been looking for a solution that will allow me to easily place css and js files on to a GCP Storage bucket which is hooked up to Cloud CDN. This plugin almost does this but falls short as it appears the plugin is expecting files in wp-content/cache/fvm directory. The reason for looking for such a solution is because my WordPress site is hosted within App Engine standard environment and plugins cannot write to any directory.
When I installed the plugin I received an error with something like “Cannot modify header: <directory_link_to>/functions-cache.php: line 148. I sort of found that it is related to the plugin not being able to create or manage anything within wp-content/cache/fvm. I created this directory (had to create an index.php file with a comment) and deploy it out to App Engine. The error disappeared and the plugin seemed to be working to some extent. The plugin was picking up my default GCP Storage bucket location and would apply it and create the folder structure required (gs:<bucket_name/cache/fvm/<cachefolder>/out) but it was not placing any files in any directory. I tried to disable all options and start from scratch but nothing was working so I’ve had to disable the plugin.
I do have the plugin WP-Stateless installed with fvm active. WP-Stateless allows me to manage my media uploads in a GCP Storage bucket and is something I do not want to disable. I did disable this plugin but fvm did not work as described above.
I have looked at the FAQ of fvm but there’s nothing that notes its compatibility with GCS. I did look at the repo on Github and there’s nothing there either.
In a nutshell, I would like to do everything that WP-Stateless does but with css, js and font files. It almost does but does not quite get there.
Wordpress Version: 5.1-en_GB
FVM Version: 2.6.0
WP-Stateless Version: 2.2.3
- The topic ‘Suggestion/New Feature: Plugin to work with WordPress on App Engine and Storage’ is closed to new replies.