Can I serve all my static pages and resources from Cloudinary?

Comments

5 comments

  • Avatar
    Yakir Perlin

    Of course!

    For more information please refer our blog.  

    Please let me know if it helps you.

     

    Best, 

    Yakir

    0
    Comment actions Permalink
  • Avatar
    Grouping Hotels

    Hi Yakir,

    Thank you for your reply.

    I found this in the forum:

    "Note that for security reasons, we force HTML files to be delivered as attachments rather than browsable HTML pages."

    https://support.cloudinary.com/hc/en-us/articles/202520832-Can-I-upload-HTML-files-to-Cloudinary-

     

    So I am not sure whether Cloudinary will work for my project.

    We have static pages formed by 1 html file, 1 CSS and 1 JS. 

    According to the Itay Taragano answer, my statics pages will not be working since the html files will not be delivered as browseable pages. Is that true?

    Is there any workaround using Cloudinary?

     

    Kind Regars,

    Zigor

     

    0
    Comment actions Permalink
  • Avatar
    Yakir Perlin

    Yes, you are right, I'm sorry.

    You can store your static assets like CSS or JS files. 

    Best,

    Yakir

     

     

    0
    Comment actions Permalink
  • Avatar
    Adriano

    Hi,

     

    Is there any way of using the fetch method for CSS and JS files? If not, what would be the most adequate way of uploading dynamically generated CSS/JS files that have been minified and optimised within WordPress. 

    I'm using WP Fastest Cache plugin with the fetch method to get all the images on Wordpress on Cloudinary, without actually having to handle the upload, but CSS and JS files aren't being picked up by /fetch/f_auto/.

     

    Regards

    0
    Comment actions Permalink
  • Avatar
    Yakir Perlin

    Hi,

    Sorry for my late response.

    Maybe you should check our auto-upload method? This feature supports all resource_types (image, video and raw).

     

    Best,

    Yakir

    0
    Comment actions Permalink

Please sign in to leave a comment.