devopti
Forum Replies Created
-
I can confirm that there is no URL problem when the plugin (or cache function) is disabled.
@bornforphp I have set up a clean WP install (Apache/VPS) with only the WP-Optimize plugin added and cache activated.
When the cache is generated (by user or by preload) it creates two pages:
1. https://test.devopti.com/page-sample/
2. https://test.devopti.com/page-sample
*the second one should redirect to the first oneIt is the same for posts, categories etc.
If you need more information please let me know.Kind regards
- This reply was modified 3 years, 3 months ago by devopti.
We tried to purge and preload but its the same.
We also tested on different hosting setups (Apache/Shared, Nginx/VPS) but it always acts the same and all the pages/posts have the double URL (with and without trailing slash).- This reply was modified 3 years, 3 months ago by devopti.
Forum: Plugins
In reply to: [Fast Velocity Minify] Broken pages after some time (css and js error 404)Thank you for the help.
I will wait for the update. ??One additional question:
Does CSS Processing takes and minifies inline CSS from the pages?
I’m asking because CSS class for some elements gets randomized on every refresh and because of that inline CSS changes too (Flatsome theme).Forum: Plugins
In reply to: [Fast Velocity Minify] Broken pages after some time (css and js error 404)Hi Mike,
It depends of what kind of caching setup you got.
If you use the caching plugin supported by FVM than I think FVM will initiate the cache purge when new CSS/JS files are generated.For @alignak:
Nginx helper plugin would probably solve my problem but I don’t want FVM to purge my cache because we use background update for content refresh.
I think the problem is that some of my pages are cached a bit later and that they use already generated FVM JS/CSS files that get deleted before the actual pages expire.
One solution would be to reduce the cache expiration from 24h to 12h so that we never have deleted FVM files.Is there a way to extend FVM files purging time?
Can I add something to functions.php to achieve this?Everything is working fine now.
Thank you very much for your support.
Thank you for a quick response.
Our functions.php filters:
add_filter( ‘webpc_uploads_root’, function( $path ) {
return ‘/var/www/html/’;
} );add_filter( ‘webpc_dir_path’, function( $path, $directory ) {
switch ($directory) {
case ‘uploads’:
return ‘/var/www/html/files/uploads’;
case ‘webp’:
return ‘/var/www/html/files/uploads-webpc’;
}
return $path;
}, 10, 2 );I forgot to write that we are running an nginx server.