powercliff
Forum Replies Created
-
Forum: Plugins
In reply to: [Easy Table of Contents] How to display TOC as a tab on left side of screenHi @tradeshark2,
I am a wordpress beginner, and I was also struggling in TOC solutions before.
Although NOT effective, maybe my awkward solution can be helpful to you:
I use some plugins combination to complete this:
https://wordpress.org/plugins/popup-maker/
https://wordpress.org/plugins/amr-shortcode-any-widget/
and a code snippet.I create a simple demo hereοΌ
http://188.131.146.141:2900/2020/12/15/demo/
Well…it’s not identical to the website you showed, but you can adjust the styles (position, icon, color, behavior, button … ) using CSS if you want.If you are interested in my demo and want to have a try, I will post my solution in this topic later.
- This reply was modified 5 years, 7 months ago by powercliff.
- This reply was modified 5 years, 7 months ago by powercliff.
- This reply was modified 5 years, 7 months ago by powercliff.
- This reply was modified 5 years, 7 months ago by powercliff.
- This reply was modified 5 years, 7 months ago by powercliff.
Hi @isaumya ,
Thanks for your reply, I will observe my cache status more carefully from now on.
Hi @isaumya,
I am very interested about your opinion:
Now the problem is that most of the times when Cloudflare sees a request is coming via cURL instead of an actual browser, it doesnβt cache the content in its edge server.
, because I have never encountered a problem like this.
I tries many different kinds of curls, with user-agent, without user-agent, bash curl, php curl, python requests, …
but every time cloudflare successfully cached ALL the pages in my website.Can you please tell me more details about this? If I can reproduce it, maybe I can understand better about cloudflare and improve my preloader script π
- This reply was modified 5 years, 8 months ago by powercliff.
- This reply was modified 5 years, 8 months ago by powercliff.
- This reply was modified 5 years, 8 months ago by powercliff.
Thanks for your help, your plugin helps me a lot. I have solved my problem by writing a script outside wordpress to preload pages periodically π
Forum: Plugins
In reply to: [Autoptimize] mathjax series js files not working wellAfter unticking the option, my site works normally. Thank you!
Forum: Plugins
In reply to: [Autoptimize] mathjax series js files not working wellyes, I have already tried this.
And i have tried many other exclusion syntax, they did not work, sadly.I don’t know if the preload url provides extra response messages other than ‘preload started’. May I make some suggestions for it?
I think adding the unlocker url and extra response messages would be very helpful for building an automatic bash script, by judging the status by response message and deciding the next procedure to plan.
Thank you!- This reply was modified 5 years, 8 months ago by powercliff.
- This reply was modified 5 years, 8 months ago by powercliff.
- This reply was modified 5 years, 8 months ago by powercliff.
Hello,
I was ready to send you my preload request url through email, and I decided to do a last test before sending it. However, this time I find a different thing:
1, The url I ready to send to you keeps sending ‘too many 301 redirects’ and the Chrome browser stopped it automatically. I encountered similar things before, and I decided to deactivate-reactivate the plugin to generate a thoroughly new preload url.
2, I found the new generated preload url worked quite well. That’s strange. I was using the identical command the environment to hit the preload url in the past a few days, but got several different answers:
Β· too many 301 redirects, the page stops to work.
Β· get ‘preloader started’ message only in a logged-in browser
Β· redirect to the homepage
Β· get ‘Preloader started’ message, but the preloader does not start (I am sure by refreshing debug.log)————————————————–
I want to provide another tiny issue which maybe useful:
The ‘unlock preloader’ is not working, at least in my test.
1, start a preloader via dashboard, the debug.log immediately shows many preload urls
2, refresh the page and the ‘unlock preloader’ button appears
3, click ‘unlock preloader’, and the page pops up a message ‘preloader unlocked successfully’
4, click ‘unlock preloader’ again, and the page pops up a message ‘preloader is already unlocked’
5, refresh the page, the ‘unlock preloader’ button disappears.
6, However, the preloader thread is still running. It still keeps fetching the rest urls regardless of the UNLOCK command until the end. Yes, I check all of the rest urls, they are all cached in cloudflare.
————————————————-Since the preload url works now, I will run my cron jobs and report the result to you in the next few days.
Thank you!Forum: Plugins
In reply to: [Autoptimize] mathjax series js files not working wellAnother message:
I think maybe it is related to a url parse issue:
1, When I add ‘www’ to my Mathjax url, it works well; when I remove the ‘www’, the request becomes problematic.
2, Other CDNs hosting Mathjax work all well; only my self-hosting url becomes problematic (my self-hosting content is identical to CDNs’)Sorry, I published a misinformed topic. The ‘bug’ only appears in user-logged-in pages. Since it effects on very few of users, I think it should not be considered as a bug.
Hello,
Thank you for your reply. I resolved my problem by migrating my website to a hosting located in Japan. Anyway, thank you very much.
- This reply was modified 5 years, 9 months ago by powercliff.
Feedback:
I downloaded the latest plugin and ran my test cases. The problem is solved perfectly: the folders are packed in the zip file and restored correctly. Thanks for your support!I resolved my issue by modifying the code in the webp plugin. If you do not consider my issue as a ‘bug related’ post, I would mark this post as resolved soon.
Anyway, thank you for developing such an awesome plugin! It really helps me a lot.- This reply was modified 5 years, 9 months ago by powercliff.
- This reply was modified 5 years, 9 months ago by powercliff.
Thanks for your reply. I do understand that some caches and large backup files should be excluded. However, personally I do not think my issue could be explained by the reasons above.
1, My excluded folder (uploads-webpc) is just another media folder, not caches/redirect/firewall.
2, The ‘uploads-webpc’ folder is very tiny, it does not contain any large files, and it would not effect the recovery procedure.
3, I guess the plugin considers it as a media folder to exclude. Maybe it should not be judged by this way.I ran several tests and guess that the issue is probably caused by a certain folder name, which matches regex: ^uploads.*$
In my follow-up tests:
————————-
disappear directories:(can’t be recovered)
/wp-content/uploads-webpc
/wp-content/uploadsDuplicate-webpc
/wp-content/uploadsDuplicate2-webpc
etc.
————————-
NOT disappear directories:(can be recovered)
/wp-content/Duplicateuploads-webpc
/wp-content/Duplicate2uploads-webpc
etc.As a result, I guess that any folders start with ‘uploads’ are ignored in the backing up procedure.
- This reply was modified 5 years, 9 months ago by powercliff.
- This reply was modified 5 years, 9 months ago by powercliff.