sigagan
Forum Replies Created
-
Thanks @bvytis,
Can you please send me an example of how to process fonts from CSS/Javascript.
Thanks a lot for your help.
Regards,
GaganHi @bvytis,
The CSS is inline in the site HTML. It is not a separate file. I am fine with this and I understand that this means that the CSS is loaded from the web server and not Optimole CDN.
Then, the custom fonts are loaded from within this inline css from url https://www.stokai.com/wp-content/Lfonts/ubuntu-normal-300.woff2. Moving the CSS into file instead of inline will cause the css to be loaded from Optimole CDN, agreed, but it will not move the fonts URL to Optimole CDN.
You can find the relevant css and font url if you search for the above url in source.
Thanks for looking into this, and let me know if you need more info.
Regards,
GaganHi @bvytis,
Thanks for getting back. The fonts files are enqueued via CSS. However the fonts files are loaded as a url from the web server.
Prior to using Optimole, I had a separate CDN and a separate image optimiser. I switched to Optimole as it is an “all in one” solution with minimal maintenance.
So now all the images, css and js files get served from Optimole CDN. Is it possible to include the fonts as a future enhancement?
Regards,
Gagan- This reply was modified 1 year ago by sigagan.
Great, thanks. It works.
Is there a better way for this temporary css to inherit theme layouts? I say this because the text font colours and styles are not inherited anymore.
Thanks @mooveagency
Forum: Plugins
In reply to: [WP-Optimize - Cache, Clean, Compress.] Purge Cache remotelyThanks @marcusig for getting back to me.
My bad, I did not ask the right question.
Yes, it does purge the post cache for the post that has been updated. I don’t want the entire cache purged. This is fine.
What I’m looking for, is to trigger the preloader for only one post, when that post is updated and hence that one post‘s cache is purged. (I have set preloader frequency to cache lifespan, but it only works when the entire cache is purged)
The filter you have mentioned above may do the trick, as preloader will kick in when the entire cache is purged. But I am updating 30 posts, so purging the whole cache 30 times will not be music to my CPU.
Forum: Plugins
In reply to: [WP-Optimize - Cache, Clean, Compress.] Purge Cache remotelyActually ignore this. Even if there was a way I would have to give the remote user admin rights.
Forum: Plugins
In reply to: [GDPR Cookie Compliance (CCPA ready)] moovegdpr.ttf not loaded from CDNHi @mooveagency ,
Thanks a ton. This has done exactly what I expected. The moovegdpr.ttf file now loads 10X faster for the test case I looked at.
And thanks for creating a versatile cookie compliance plugin. Much appreciated.
Regards,
GaganForum: Plugins
In reply to: [GDPR Cookie Compliance (CCPA ready)] Add font-displayHi @mooveagency , Great feature. Can you please provide an ETA on the next release.
I raised an issue here about fonts not loading from base CDN URL, that is also promised in the next release.
This will provide a nice little speed boost to this plugin.
https://wordpress.org/support/topic/moovegdpr-ttf-not-loaded-from-cdn/Many Thanks,
GaganFonts are now coming through. There are 3 issues
1. CDN setting is not working for below file. It works for the fonts.
2. This is a new warning on GTMetrix >> The following resources are missing a cache validator. Resources that do not specify a cache validator cannot be refreshed efficiently. Specify a Last-Modified or ETag header to enable cache validation for the following resources:
http://www.example.com/wp-json/omgf/v1/download/css?family=Ubuntu%3A300%2C400%2C700&subset=latin&handle=primer-fonts&ver=1.8.93.Maybe allow fonts to be preloaded, seems like this has been removed.
I’ll give it a shot when the update comes through.
- This reply was modified 1 year, 9 months ago by sigagan.
No errors. I am using Primer theme. Caching – Autotimize and wp-optimize
p.s. I am in the middle of backup, and will be rolling back soon. But happy to help investigate the issue.
Yep, I can see stylesheets generated in the css folder. I cant see fonts in uploads/omgf folder.
@sunnyt13 , I’ve been there too. Did you reload your latest post or page as instructed at the top of the settings page. It’s easy to miss if you are lower down the page clicking auto-refresh.
Forum: Plugins
In reply to: [Autoptimize] gdpr cookie compliance lity.css and lity.js not optimizedThanks @optimizingmatters will check with them.