WordPress.org

Ready to get started?Download WordPress

Forums

Syndicate Press
[resolved] Multisite and shared cache (7 posts)

  1. ade11
    Member
    Posted 1 year ago #

    We note you use a directory in the plugins' folder for caching the feed i/o.

    In a WordPress multi-site setup is this likely to cause a problem? Are the file names always unique?

    http://wordpress.org/extend/plugins/syndicate-press/

  2. SP developer
    Member
    Plugin Author

    Posted 1 year ago #

    Hi ade11,
    Have you observed a problem with multisite wp? The cache dir is based on the wp installation path. Also, the cached files are unique for each feed url. If the feed url is the exact same, then the cache filename would be the same. Please post your site url.

    Best regards,
    SP Developer

  3. ade11
    Member
    Posted 1 year ago #

    Many thanks, we are assured, we will go ahead and install your plugin in our production environment.

    regards
    a.

  4. ade11
    Member
    Posted 1 year ago #

    So in our production environment we get issues regarding cache directory permissions.

    It claims it wants 755 (rwxrw-rw-) but doesn't seem to work unless we set 777 (rwxrwxrwx) ?

    In our environment, the plugins directories are not generally writable for security reasons, instead we encourage use of the wp uploads path, but we can live with exceptions for plugin cache directories, if there is no other way to do it. But could using an uploads path be looked into, maybe as an option (i.e. let us SET where the cache directory lives) ?

    Related to this cache issue, could you please check your code for clearing cache files, seems line #608 should have ($filesInDir) not ($fileInDir) ? That way we would be able to clear caches and maybe try looking at your plugin again.

    Our client wants it to work quite urgently.

    Many thanks for your prompt responses so far!

  5. SP developer
    Member
    Plugin Author

    Posted 1 year ago #

    Hi ade11,
    thanks for the detailed response. I like the idea of a configurable cache path and will add that in the next release. Also thanks for the heads up on the cache delete var. I'll take a look.

    Since this is a an urgent request for your client I will see if I can get to it this evening. A donation would be greatly appreciated. :-)

    We can take this conversation off of the forumif you like. Use the email address in the SP Admin support tab.

    Best regards,
    SP Developer.

  6. SP developer
    Member
    Plugin Author

    Posted 1 year ago #

    Hi ade11,
    the custom cache root dir and caching clearing fix have been delivered in version 1.0.22.

    Best Regards,
    SP Developer

  7. ade11
    Member
    Posted 1 year ago #

    Bit late I know, but many, many thanks for this and your responsive and competent service!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic