Title: Setting expiration for external Javascript
Last modified: August 20, 2016

---

# Setting expiration for external Javascript

 *  [Vivek Nath.R](https://wordpress.org/support/users/viveknath322/)
 * (@viveknath322)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/setting-expiration-for-external-javascript/)
 * Hello,
    I checked my site’s speed using Google Page Speed, it suggest me to set
   expiration for java script files that are hosted somewhere. I set expiration 
   for all files in my server but I don’t know how I could add expire headers to
   scripts not on my server. Here is a screenshot of that→ [http://dl.dropbox.com/u/19870375/jsexpiration.png](http://dl.dropbox.com/u/19870375/jsexpiration.png)
 * I would be grateful if someone could help. Thanks
    Regards, Vivek Nath.R [Digital Advices](http://www.digitaladvices.com/)

The topic ‘Setting expiration for external Javascript’ is closed to new replies.

## Tags

 * [java-script](https://wordpress.org/support/topic-tag/java-script/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [Vivek Nath.R](https://wordpress.org/support/users/viveknath322/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/setting-expiration-for-external-javascript/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
