How can I add expire headers for scripts that are not on my server?

后端 未结 9 817
我寻月下人不归
我寻月下人不归 2020-12-25 14:03

I have a website and I added the expire headers on all pages/images and scripts but I don’t know how I could add expire headers to external scripts.

For example Goo

9条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-25 14:16

    You could dynamically load the external pages using PHP, so you can send headers before outputting the original data. This is not an ideal solution but if you really have to you may want to use it.

提交回复
热议问题