Jump to content

Leftfield

Members
  • Posts

    58
  • Joined

  • Last visited

Everything posted by Leftfield

  1. @Denis SchultzWhile we can't control the exact moment a user accepts cookies, it has a minimal impact on meaningful paint. If a user accepts quickly, the script might load from another page since it's typically placed in the <head> and you know this so IDK why we are delving. @wbmnfktr While IDK the exact percentage, around 35% of all websites are built on WordPress and tend to be slow due to overloaded scripts and CSS files. Google previously (long time ago) de-emphasized speed as a direct ranking factor because of that. However, considering the potential impact of improved user experience with faster loading times, it's possible Google might develop ways to measure and potentially re-evaluate speed (Speculative Loading as a solution) in the future.
  2. Hi @Denis Schultz, thanks for your input. I'm from Europe too and very familiar with GDPR law. Side story: On the landing page, users first need to accept cookies. Having them accept a GDPR-compliant agreement there eliminates the need to accept it twice. Main story: Loading certain fields before the user clicks can improve page load speed, regardless of caching. However, module should load the parts of cached version in this case. This is a whole new philosophy.
  3. Hey @MarkE, Here is my solution and proposition what to look for:
  4. Last week, WordPress introduced a performance plugin promising "Near-Instant Load Times." While I won't comment on my personal experience with WordPress (let's just say it hasn't been ideal), or speculate on potential security implications (with which WP is super proud) of this plugin and how it will kill server resources on share hosting accounts, the focus on improved performance is certainly commendable. After all, ProcessWire was built with speed and efficiency in mind. This brings me to an interesting proposition: the development of a Speculative Loading API module for ProcessWire. My proposition is that this module would allow users to selectively load only the fields they require, further optimizing page load times. Example, problem and solution: The WordPress plugin reportedly loads the entire page, including Google Analytics code. This triggers a visit registration in Google Analytics, even if the user didn't see the page. Ideally, for better performance and to avoid this kind of problem, only essential elements like body field (with its images) and a few essential (by someone needs) choosable fields would be loaded initially.
  5. I just found out about your Recipes website today, and I love it!

  6. I'm an SEO guy (and all the alarms went off after I viewed the dates in sitemap), not a coder. I can understand PHP code reasonably well and make modifications, but I wouldn't consider myself a skilled programmer (it's been a decade since I've coded regularly). These custom modules were all created by @OLSA and then modified by me to suit my needs. Thanks to his help, it was much easier to fix the problem.
  7. Found the problem, and it was me, not ProcessWire, but... Here's why this issue might occur for anyone who encounters it: I have a module with a hook that triggers on page save (thanks to @wbmnfktr's for pointing it out). This module's function is to update its fields in the database whenever a post is liked on the page. Simple: someone likes the page, so it counts as one more like. The problem arises when both ProcessWire cache and silent page save are enabled. In this scenario, the changes aren't reflected on the front page. To ensure updates of the field are reflected on the frontpage, silent mode needs to be disabled. With silent mode off, the modified field updates whenever a post is saved from the hook. Here's the code snippet which is solving issue with modified BUT in my case making the problem when the cache is on: @$this->page->save($data['field'], array('quiet' => true)); @wbmnfktrI don't own you a beer, I own you at least a dinner man!
  8. I'm wondering why this only happened on one template, although all the modules (fields) are loaded on all the templates. I don't know the time frame of the issue yet, so I'll need to check when this happens and then begin shutting down the modules.
  9. OK. More than few I see now :D All In One Minify, Email Obfuscation, Database Backups, Send Mass Email (inactive), Video embed for YouTube, Convert JPG/PNG images to WEBP, and 3 custom (super uber decently coded I guarantee) ones for backend. All modules load on every single template except for Email Obfuscation, which loads only on the contact page.
  10. No, I don't have that module (I am using just few modules). Yes, I only have one hook in the ready.php file that calculates reading time and updates one field on page save. Thanks for helping me out @wbmnfktr
  11. I am encountering an unexpected issue where the "Last modified by" field shows "guest," and this modification triggers a sitemap update, potentially signaling changes to search engines like Google. This is concerning as there have been no recent content updates. To clarify: I am the sole administrator with access to the website, and no unauthorized modifications have occurred. No new installations have been made on the system. No editing happened. The content remains unchanged. This issue only occurs on blog pages (using a specific template) where I manually modified the code for the Twitter share button. Is that it!?!? If that's it, then it's a problem. ProcessWire 3.0.184 (I am updating right after this post to the latest stable version). I would appreciate any insights you may have on the cause of this unexpected modification. PS: I apologize for the duplicate post. I felt it necessary to create a new one for better explanation. Thank you for your understanding!
  12. @kongondoI was thinking that exporting to JSON would be faster but caching menu is pretty good answer.
  13. Hi, I have init.php file where is called a lot of pages for links in the navigation. Navigation has dropdowns and the links are not placed the same as in the backend. $variableone = $pages->get(1100); $variablegtwo = $pages->get(1101); $variablethree = $pages->get(1102); $variablefour = $pages->get(1103); ... Is there a better way to speed up this queries?
  14. @wbmnfktryou are right. I totally forgot autosmush module. When turned off and webp enabled via hook it flies. Thanks mate!
  15. ProcessWire 3.0.165. PHP 7.2, 7.3 and 7.4 Tried webp like this but it slows down the pages for about 10 seconds and more. Tried cache, same result. <?= $page->images->eq(0)->size(500,300)->webp->url;
  16. Hi @all, hi @ukyo. Thanks for the module! I made custom .php file, loading nicely but I have lost fonts-awesome and backend is looking like this:
  17. @Jan Romero no. It made row for every new data. Tested now, it is OK.
  18. Thanks for the answer!!!! It records queries in database. It didnt delete old ones. At least when I made the question
  19. PS: Image in showcase is not loading @ryan and this page provides 404 https://processwire.com/sites/list/rum-doodle-digital-marketing-agency/
  20. New showcase entry, for Rum Doodle Digital Marketing Agency https://rumdoodle.at/ Features On-Page SEO in full. Auto json and rich snippets Ajax contact form Bootstrap 4 Fontawesome (will be removed) Modules used Auto Smush Email Obfuscation (EMO) Markup Cookie Consent ConfigForm Fieldtype I love the part when I am not using too many fields and modules.
  21. Probably I don't have any rights to comment how far PW came since I started using it from the version 2.x. Of course it is hard to balance and I perfectly know what is mixing MVC and framework and CMS. If they ever listened me (in that time I came from the country which had bad reputation for leading the war against neighbors) Joomla! would stay on top of WordPress. For years Joomla! didn't do anything about SEF URLs and it costed that CMS so much. And it was so small effort and thing to do. Please, think about it. Now, for two years I didn't touch any other CMS except PW and I am very very happy like never before and I am not developer.
  22. The main magic is You don't have to install any module to have media manager. There is a bunch of options. Make template "gallery", put all images on that page. Call images via tags or Page Reference or whereverver model you want. That flexibility and finding the best possible model makes me speechless. The thing is, PW is not a pure CMS and it should stay that way. This is so good I can't believe it exist. Kudos to Ryan and team!!!
  23. Hi @ All, I am Miljan and I've spent 10 years in various Joomla! teams and I love Joomla. Saw a lot of things, roads, milestones, changes, decisions and participated but my voice was not loud enough sometimes. Sometimes things went in the wrong direction. There is various CMSs - WordPress (brrr), Joomla!, Drupal, Typo etc etc. Ecommerce: Magento, Os etc etc... There is various frameworks: YII etc etc. So, PLEASE guys, do not change much ProcessWire, especially in those directions, it is excellent as it is. It is fantastic!!! DO NOT make media manager, do not make CMS features you can find everywhere. One thing will lead another and at the end PW would be just as any s*** we all escaped from. Please, improving core and adding here and there certain features would be fantastic. The only thing, maybe, my suggestion, is to gather team (not suggesting myself because for a longer time I am not good programmer) to control modules quality attached to this web and check out the code for malicious things. That's all.
  24. Sorry, wrong window. Sent you in inbox.

×
×
  • Create New...