TMM Technology
Forum Replies Created
-
Forum: Plugins
In reply to: [Cache Warmer] Unique visitors per crawlForum: Plugins
In reply to: [Cache Warmer] Unique visitors per crawlGlad to see you again @19ash82 ??
In the first place, I don’t think you will be billed for this, because:
a) The plugin visits the pages without JavaScript.
b) With the same IP (of your server).
c) It would be a severe loophole to make people bankrupt by simply running in the loop:curl -A "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36" https://www.lesfousdisent.com/
So I would recommend contacting the support of the service you are using to make sure making such a request will not cause you to be billed. I’m pretty much sure that you won’t be billed for this, and therefore you should not worry. But better to ask anyway, to be 100% sure ??
Anyway, I will also respond to all your questions one by one:
————-
> a) Does each crawl interpreted as one visitor or each page crawled as one visit ?
As said earlier, I doubt they bill for every visit blindly.
But it certainly depends on the service you’re using and their billing model. I would recommend to consult their support, with the code I sent above ??
> b) Since this would prove very expensive, the consent management platform proposed that your bot adds a Query string to the url and then I could condition the consent management to be activated in the absence of this string only.
Maybe you could consult their support if it’s possible to exclude by IP, and pass the IP of your web-server in there instead of the custom URL param?
Because passing a custom URL param can certainly bypass many caches (the cache won’t be created when the URL param is set) and therefore nullify the purpose of the plugin.
> Would the crawl still work & get recognized by Litespeed cache or other caching plugins?
It actually depends on the cache solution and its particular settings. I didn’t have experience with LiteSpeed.
But a rule of thumb: better not to pass any URL params whenever possible, as, from my exprience, many cache solutions do not create cache (or create it only for these URL params, and not for the page without them). This is why I proposed a way of exclusion by IP, as the most ideal.
> c) If yes, could you please add some option in the setting to add some query string please ?
There is such a setting in this plugin: Crawler Settings -> URL Params.
> Or should I add something in user agents in useing, for example “mybot” and then block my analytics if the word “bot” is detected in the user agent ?
Yes, that is another way. So I see you have these ways: query param, cookie, IP. But the first two ways can cause some caching solutions not to create the cache, so I would recommend to avoid them and focus on IP-based exclusion.Forum: Plugins
In reply to: [Cache Warmer] Cannot seem to make it work@19ash82 Glad to hear you made it working ??
So yes, you can specify several user-agents: one for desktop, one for mobile – and the plugin will visit every page with every user agent you specified.
And regarding “accept: image/webp” – could you clarify on this one? I think if you want to warm images, you can add a checkbox in “Assets Preloading” -> “Images” and the plugin will also visit images on the site.Forum: Plugins
In reply to: [Cache Warmer] Cannot seem to make it work@19ash82 by quickly looking at your log, I can say that your entry point is the sitemap, though should be site root, like on my screenshot: https://www.lesfousdisent.com/
But to say more precisely, I would need either a screenshot or your settings file ??Forum: Plugins
In reply to: [Cache Warmer] Cannot seem to make it work@19ash82 Can you give the screenshot of your settings or export them and send to me ? I can take a look what is wrong with your plugin settings.
Anyway, let’s try differently. I will export my settings that were working for your site, and then you can import them and try again.
Go to the plugin settings, then select “Crawler Settings” tab, scroll to the bottom, click “Import settings” and select this file.
https://drive.google.com/drive/folders/1B86FdqHbjXhbWH61Sr6vnt96yy3jUd92?usp=sharingForum: Plugins
In reply to: [Cache Warmer] Cannot seem to make it workSo yeah, first edit the settings, click the “Save” button, and wait until the page reloads. Then go to the main plugin page and click the blue “Start a new Warm-Up” button and wait a bit – it should start it.
Forum: Plugins
In reply to: [Cache Warmer] Cannot seem to make it work@19ash82 Hi, we plan to make a documentation in the future, but for now I will be your documentation.
So the plugin goes from the entry points down the tree, like a very simple crawler. The depth is how many nodes to go deep (0 means visit only the entry point).
I understand that this plugin can be a bit hard to understand, we apparently will make some documentation later, but for now you can ask me if you need some help to make a specific setup.
Can you try to run with these 3 settings, as on my screenshot?It works pretty succesfully for me:
Forum: Plugins
In reply to: [Cache Warmer] Keep Only Logs for ? Days/WeeksForum: Plugins
In reply to: [Cache Warmer] Crawling improper URL in sitemap leading to 301 redirect@kw11 I agree on this remark, I will add a fix for this in the near future, and ping you in this thread when released.
Forum: Plugins
In reply to: [Cache Warmer] User Agents@cptkoolbeenz This feature is released. Thanks for your patience.
Crawler Settings (tab) -> User-Agents
Let me know if you experience any issues with this.Forum: Plugins
In reply to: [Cache Warmer] Option to disable logs@estalhun This feature is released. Thanks for your patience.
I have also added a migration for your constant, so in theory there should be a 0 value for you in here (you can delete the constant now).
Forum: Plugins
In reply to: [Cache Warmer] Cannot delete logs@cptkoolbeenz This feature is released. Thanks for your patience.
Forum: Plugins
In reply to: [Cache Warmer] Keep Only Logs for ? Days/Weeks@loyukfai This feature is released. Thanks for the patience.
Forum: Plugins
In reply to: [Cache Warmer] Info message constantly on@panmaster It should be present for 10 minutes max. Is this message still shown for you?
It’s shown when the background update routine is running.
If it’s still shown, maybe you could add &tmm-do=db-migrations-log on the plugin main page, so the final URL could be like {your-site}/wp-admin/admin.php?page=cache-warmer&tmm-do=db-migrations-log and check if there are errors.Forum: Plugins
In reply to: [Resize Image Before Upload] Gutenberg support?Hi. We will investigate this, and respond with the conclusion / when the solution is ready.