duan0403788996 2012-01-19 15:53
浏览 25

从Zend应用程序更新Amazon S3上的静态文件

we inherited Zend project, which hosts all static files (css, js, images, ..) on Amazon S3. Original programmer told me, that deployment is automated, but when I update new (for example) css file on server, on S3 is still old version. Same guy linked me this article: http://www.labnol.org/internet/lower-amazon-s3-bill-improve-website-loading-time/5193/, where is section "Implement Caching for Amazon S3 Files". I added ?v param for my css file, but it didn't help.

I set permissions in Amazon S3 console for user "info" (I'm logged as info@domain.tld) to: Open/Download, View Permissions and Edit permissions for mentioned css file.

Is it possible, that Zend can update static files on Amazon S3, or it's bad info? I tried to search in Zend doc, but unsuccessfully.

Thank for help

  • 写回答

1条回答 默认 最新

  • douchuang8359 2012-01-20 10:19
    关注

    Zend Framework does offer a component to connect and work with Amazon S3. check out
    Zend Framework S3

    It dosen't matter what kind of file (object) it is, it can be updated.
    If you can find it post some of the update code and maybe someone can troubleshoot it.

    评论

报告相同问题?

悬赏问题

  • ¥15 Oracle中如何从clob类型截取特定字符串后面的字符
  • ¥15 想通过pywinauto自动电机应用程序按钮,但是找不到应用程序按钮信息
  • ¥15 如何在炒股软件中,爬到我想看的日k线
  • ¥15 seatunnel 怎么配置Elasticsearch
  • ¥15 PSCAD安装问题 ERROR: Visual Studio 2013, 2015, 2017 or 2019 is not found in the system.
  • ¥15 (标签-MATLAB|关键词-多址)
  • ¥15 关于#MATLAB#的问题,如何解决?(相关搜索:信噪比,系统容量)
  • ¥500 52810做蓝牙接受端
  • ¥15 基于PLC的三轴机械手程序
  • ¥15 多址通信方式的抗噪声性能和系统容量对比