• Resolved javism

    (@javism)


    Hi,

    I have an issue with growing cache. I am populating the calendar with an ics from Google Calendar. I have checked on “Exclude events from search results” as recommended in other threads, however cache still growing. robots.txt is:

    User-agent: *
    Disallow: /calendar/action~posterboard/
    Disallow: /calendar/action~agenda/
    Disallow: /calendar/action~oneday/
    Disallow: /calendar/action~month/
    Disallow: /calendar/action~week/
    Disallow: /calendar/action~stream/

    I am using Nginx + FPM (APC), all-in-one-event-calendar (2.1.9) in a multisite (4.1–es_ES)

    ¿Any hints to reduce cache size? Thanks.

    https://ww.wp.xz.cn/plugins/all-in-one-event-calendar/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Are you using the super widget to embed calendar?

    Thread Starter javism

    (@javism)

    Thanks.

    I’m using the Widget Generator to generate the code that I paste into the HTML Javascript Added widget.

    You can check it in action here: http://lacasaazul.cordoba.cc/

    Other point that I didn’t include here is that if you reload the website quickly there is the following JavaScript message that is shown for less than a second: “An error occurred while retrieving the data.”

    there is a bug we have that basically causes a new css file to be written every time the SuperWidget is requested, that’s why cache is growing.
    I suggest adding:

    if ( ! defined( 'AI1EC_DISABLE_FILE_CACHE' ) ) {
    	define( 'AI1EC_DISABLE_FILE_CACHE', false );
    }

    in all-in-one-event-calendar.php for now. When we release 2.2 this should be fixed.

    Thread Starter javism

    (@javism)

    New release 2.2 fixed the problems. Thanks.

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

The topic ‘Cache grows cinstantly’ is closed to new replies.