Title: setting cache-control meta-data
Last modified: August 22, 2016

---

# setting cache-control meta-data

 *  [CCVonLewin](https://wordpress.org/support/users/ccvonlewin/)
 * (@ccvonlewin)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/setting-cache-control-meta-data/)
 * In addition to the ‘Expires’ meta data, I want to be able to include the ‘Cache-
   Control’ meta data as well.
 * plugins/amazon-s3-and-cloudfront/classes/amazon-s3-and-cloudfront.php
    line 157
   $args[‘Expires’] = date( ‘D, d M Y H:i:s O’, time()+315360000 );
 * When i add a new line 158
    $args[‘Cache-Control’] = ‘max-age=315360000, public’;
 * and add a new asset, the new meta tag is not present. Anyone have an idea why?
 * [https://wordpress.org/plugins/amazon-s3-and-cloudfront/](https://wordpress.org/plugins/amazon-s3-and-cloudfront/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Brad Touesnard](https://wordpress.org/support/users/bradt/)
 * (@bradt)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/setting-cache-control-meta-data/#post-5323948)
 * Added an issue here:
    [https://github.com/deliciousbrains/wp-amazon-s3-and-cloudfront/issues/101](https://github.com/deliciousbrains/wp-amazon-s3-and-cloudfront/issues/101)

Viewing 1 replies (of 1 total)

The topic ‘setting cache-control meta-data’ is closed to new replies.

 * ![](https://ps.w.org/amazon-s3-and-cloudfront/assets/icon-256x256.jpg?rev=1809890)
 * [WP Offload Media Lite for Amazon S3, DigitalOcean Spaces, and Google Cloud Storage](https://wordpress.org/plugins/amazon-s3-and-cloudfront/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-s3-and-cloudfront/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/reviews/)

## Tags

 * [as3cf-0.6.2](https://wordpress.org/support/topic-tag/as3cf-0-6-2/)

 * 1 reply
 * 2 participants
 * Last reply from: [Brad Touesnard](https://wordpress.org/support/users/bradt/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/setting-cache-control-meta-data/#post-5323948)
 * Status: not resolved