You need to either
-
Version your files (by calling it
style.css?ver=xxx.xxx
) and making sure your CloudFront distribution has “Forward Query strings” turned on. This is the better option, as it means that all you need to do is increment the number in the query string and CloudFront will fetch this file automatically. -
Manually invalidate your files via the AWS Console (there is an invalidation tab when you edit your distribution)
To turn on ‘Forward Query Strings’ do the following:
- Edit your Cloudfront distro by ticking the checkbox on the left of the ‘i’ and then click on the “distribution settings” button in the toolbar
- Go to the Behaviors tab
- Select the line, and click on ‘Edit’
- Change “forward query strings” to Yes
- Click on “Yes, Edit”
Related Posts:
- First click to blog title does not open the blog article
- Link to specific Customizer section
- How do I change the header image height in Twenty Seventeen?
- Do Child-Themes automatically load the Translation from the Parent-Theme?
- How to override the “inc” folder (or any folder) in a theme using child theme?
- Pre-populating the Page/Post Content Editor with HTML Snippets?
- Two instances of WordPress with different URLs and themes
- Is “Featured Content” in Twenty Fourteen done with a plugin, or is it native in WP4.0?
- Using WordPress as piecemeal in existing site?
- Are custom inner theme folders in any way overridable by child themes?
- How to reverse the pagination numbers of an archive?
- Changing the title of post with code
- Why do Trackbacks/Pingbacks not appear below my posts/pages?
- Add transparency to wordpress color picker?
- Theme Customizer – How to create a sub panel
- Setting a static home page and blog page without using the settings
- Why is WordPress asking me to update my new (virtually blank) theme?
- During theme installation theme upload failed
- Change title slug or separator in WordPress
- How to configure PoEdit to pick up translation string?
- how to remove padding from left and right side? [closed]
- Use a different template/theme if mobile only on home page
- Can i have a single wordpress site to have two themes ( one for pc other for mobiles)
- Translated my theme (translation not showing up)
- How to use get_page_by_title() with qTranslate?
- Changing $before_widget for certain widgets
- Should a child theme share the same theme options row as the parent, or should it have it’s own options row?
- Multi-level page hierarchy
- loss of theme options while site deployment in production
- How to install WordPress theme and configure it? [closed]
- How do I get rid of or change the footer in my child theme?
- Switching a Site to WordPress and Leaving It Live Until Ready
- How can I make some themes usable only by admins?
- Own Theme Customizer displays error message when saving, saving still works
- 1 Database for multiple WordPress themes
- Troubles with Walker_Nav_Menu and closing
- Page has a parent and $post->post_parent returns 0
- Translation not working after editing plugin template
- How does W3 Total Cache Load Images In Stylesheet via CDN? [closed]
- How to apply different themes with custom design in one site?
- How to make Additional css changes global all across the web pages on WordPress website?
- WordPress without a theme – help!
- Problem Installing a Premium Theme– File Permission Issue on a Mac, Local Machine? [closed]
- How to install themes with the demo content?
- Is it good practice moving the main stylesheets after the plugin styles?
- Variant of the same theme for each page
- can’t see aditional themes in control panel
- Configure new installed WordPress in live server
- What’s the default order used by WordPress to load CSS files?
- Where does WordPress get the theme name from to check for updates?
- Hi everybody, I have a problem of search box
- How can I remove all traces of a theme?
- Unable to find translations in WordPress theme
- Updating WordPress Theme Files
- A thin line between native wordpress bahaviour and 3rd party themes
- Using filter in the widget causes fatal error
- Display Pointer only once?
- Theme title in admin shows full path [closed]
- Multiple sub directories for theme template pages
- Is there a way to see how a theme will look before buying it?
- Menu items do not “open” when mouse hover over them?
- From where wp ecommerce is loading plugin theme files?
- Making first post wider than other posts on home page(default)
- My blog suddenly can’t find my stylesheet?
- How to fix Scrape key check failed on WordPress VPS?
- How to push a theme update for a ciustom theme used on multiple independant self hosted sites?
- Removing a widget via theme editor
- theme customizations gone after enabling ssl
- Can’t embed certain youtube videos into theme
- How to customize a section of a widget only on certain pages or page
- How do I get the featured image to sit below the header in the twenty nineteen theme?
- How to use my .mo file in the Divi child theme instead of file in a parent /builder directory?
- How to fix Gutenberg with SiteOrigin page builder deleting content when editing
- Simple filter to change label name of Email Adress to something else
- Basic wordpress search shows no results
- How do I remove search bar that isn’t a widget?
- Changing theme folder name disrupts widgets
- WordPress Customazation API section in section
- TwentyFourteen Theme : Changing grid layout
- How can I Update my Theme
- How to allow users to switch to the child theme from front end without plugin?
- Change whole theme depending on resolution
- Replacing current theme folder by previous version of the same folder produces “undefined function get_header()” error
- Does not work bookmarklet in the theme Tagology
- How do I block a subdirectory from WordPress theming?
- How to remove the option data of a theme when that theme is removed?
- Resetting Themes Folder to Default
- How to Hide Blog Post Author?
- Convert theme to be based on Bootstrap?
- Include root files into header files
- Adding a wp_head hook from an included PHP file
- Deleting Widgets in sidebar in Panthea theme
- Static posts page is not working
- Cannot use some themes within Managed WordPress of Go Daddy [closed]
- How to track your theme usage on the internet?
- How to add Company Logo to Chosen Theme
- What security risk is not having “default” theme?
- Absolute and relative paths
- Get header/footer list for a theme
- Help!!! Old theme doesn’t load scripts and conflitcs with plugins