Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter mupa

    (@mupa)

    Edit:
    I found out that only the image sizes from my theme and the defaults from WordPress are used. Adding an image size via add_image_size in the function.php will create an entry in the RWP-options, activating them doesn’t work. There are not in the srcsets.

    Thread Starter mupa

    (@mupa)

    Switching to the picture element works. But i found out that it isn’t enough to just switch the config from img to picture. You have to change something on your site (e.g. custom CSS) and save this state. Otherwise the config switch won’t work.

    Thread Starter mupa

    (@mupa)

    I think the problem is the missing viewport width (vw) information in your sizes tag. Please read this article. It explains the problem very well.

    Thread Starter mupa

    (@mupa)

    <img srcset="http://localhost/wordpress/wp-content/uploads/2016/04/Anlage-1-410x231.jpg 410w, http://localhost/wordpress/wp-content/uploads/2016/04/Anlage-1-640x428.jpg 640w, http://localhost/wordpress/wp-content/uploads/2016/04/Anlage-1-860x484.jpg 860w, http://localhost/wordpress/wp-content/uploads/2016/04/Anlage-1-1200x514.jpg 1200w, http://localhost/wordpress/wp-content/uploads/2016/04/Anlage-1-1680x720.jpg 1680w" sizes="(min-width: 1200px) 1680px, (min-width: 860px) 1200px, (min-width: 640px) 860px, (min-width: 410px) 640px, 410px" width="1680" height="720" class="pngfix wp-post-image" alt="" title="">

    Thread Starter mupa

    (@mupa)

    I have found a solution for this use case:
    If you have RSS content which needs to be updated frequently, then don’t let WordPress do the job. I now have created a RSS widget (there are tons of generators) and pasted it into the text widget from WordPress. The generated RSS widget has some javascript which does the update job itself. So now it doesn’t matter if the code is compressed or not.

    Forum: Plugins
    In reply to: [Cachify] CRON cache flush

    I have found a solution for this use case:
    If you have RSS content which needs to be updated frequently, then don’t let WordPress do the job. I now have created a RSS widget (there are tons of generators) and pasted it into the text widget from WordPress. The generated RSS widget has some javascript which does the update job itself. So now it doesn’t matter if the code is compressed or not.

    Thread Starter mupa

    (@mupa)

    This was my theory as well. But is there a way to prevent loading high resolution images in mobile mode? I mean, there is really no big visual difference between a 667×375 image and a 1334×750 image on such a small screen.

    Forum: Plugins
    In reply to: [Cachify] CRON cache flush

    By the way, with RSS feed i don’t mean the feed of my own site. I’m using the RSS reader widget which comes with WordPress to show the last 10 headlines of a specific RSS feed.
    So i have a small box on the right side of all my sub sites which shows the last 10 headlines of for example http://www.sport1.de/tennis/news.rss.

    Thread Starter mupa

    (@mupa)

    Hm, but as far as i know, cron jobs will only be triggered if somebody visits the site. So if a job should run on 12:00 PM, but the first visit of the site is on 6:00 PM, then the job will run on 6:00 PM right?

    Thread Starter mupa

    (@mupa)

    Expireing the cache is not the big deal, the questions is how to rebuild it?

    Thread Starter mupa

    (@mupa)

    I don’t want to cache pieces. I want to flush and rebuild the whole cache of all sites cause the RSS feed is in a widget which is on all sites.

    Is there any cache plugin out there that can rebuild the cache automatically out of the box?
    Until now i only found this thread . But this script doesn’t work for me.

    Forum: Plugins
    In reply to: [Cachify] CRON cache flush

    No ideas?

    Forum: Plugins
    In reply to: [Cachify] CRON cache flush

    I’m interested in that topic as well. I tried out this solution https://ww.wp.xz.cn/support/topic/flush-cache-and-rebuild?replies=3 but it doesn’t work.
    My questions are:

    Is this the right way to flush and rebuild the cache via Cron for db storage, or is this the solution for hdd caching?

    My page is hosted under a shared host, so i don’t have the possibility to look up server logs. Is there another way to debug a cron job script?

    My intention to flush and rebuild the cache is cause my RSS feed won’t be updated in the cached version. So i thought rebuilding the cache once an hour is a good solution. If there is another one (for example to exclude parts of a website) please post it here.

    Thanks in advance
    Mupa

Viewing 13 replies - 1 through 13 (of 13 total)