This support forum is no longer in use. Please use the Cloudinary Community at https://community.cloudinary.com/ to receive assistance from other members of the community and from Cloudinary's support team. For account-specific questions or if you believe that you've encountered a bug, please contact the Cloudinary team directly via the "submit a request" option on this support site.

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

Post is closed for comments.