Support » Plugin: W3 Total Cache » [Plugin: W3 Total Cache] CDN: Path to custom file points to cdn, but file is not uploaded yet

  • Resolved shortster

    (@shortster)


    I’m trying to deliver uploaded files, which are uploaded from my simple press forum, directly from my S3 cdn.

    What happens is this:

    • In cdn setting > custom file list: wp-content/forum-image-uploads/*
    • In the forum user chooses a file to upload
    • file gets uploaded to the path above
    • but the path to the image on the forum gets changed immediately to the cdn path, which leads to a broken img

    The auto-upload is set to 3600 so only then will the new files be uploaded to the cdn. Is it possible to only change the links to the new files when they are uploaded? Or is there another solution?

Viewing 4 replies - 1 through 4 (of 4 total)
  • W3TC auto uploads on the fly files added to the medialibrary, if your forum plugin adds files elsewhere, you could set a different auto-upload interval.

    Thanks blau! That’s good to know. I think I can point simple press to upload in a different folder, so I’ll try to point it to the media library folder.

    Just putting it in the upload folder does not seem to work. It really needs to be added to wordpress media library I guess.
    And setting the auto-upload interval to 1 sec does not feel like the right solution. Any other ideas?

    Plugin Author Frederick Townes

    (@fredericktownes)

    And setting the auto-upload interval to 1 sec does not feel like the right solution.

    That’s right it’s not. For now, SimplePress needs to use the media library properly if you want everything to be fully automated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: W3 Total Cache] CDN: Path to custom file points to cdn, but file is not uploaded yet’ is closed to new replies.